this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 27 lines 887 B view raw
1<script setup lang="ts"> 2import type { PrimitiveProps } from 'reka-ui' 3import type { HTMLAttributes } from 'vue' 4import { cn } from '@/lib/utils' 5import { Primitive } from 'reka-ui' 6 7const props = defineProps<PrimitiveProps & { 8 class?: HTMLAttributes['class'] 9}>() 10</script> 11 12<template> 13 <Primitive 14 data-slot="sidebar-group-action" 15 data-sidebar="group-action" 16 :as="as" 17 :as-child="asChild" 18 :class="cn( 19 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0', 20 'after:absolute after:-inset-2 md:after:hidden', 21 'group-data-[collapsible=icon]:hidden', 22 props.class, 23 )" 24 > 25 <slot /> 26 </Primitive> 27</template>