Function
ItemSeparator
({
className,
...props
}: React.ComponentProps<typeof Separator>)
Source from the content-addressed store, hash-verified
| 17 | } |
| 18 | |
| 19 | function ItemSeparator({ |
| 20 | className, |
| 21 | ...props |
| 22 | }: React.ComponentProps<typeof Separator>) { |
| 23 | return ( |
| 24 | <Separator |
| 25 | data-slot="item-separator" |
| 26 | orientation="horizontal" |
| 27 | className={cn("my-0", className)} |
| 28 | {...props} |
| 29 | /> |
| 30 | ) |
| 31 | } |
| 32 | |
| 33 | const itemVariants = cva( |
| 34 | "group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", |
Callers
nothing calls this directly
Tested by
no test coverage detected