MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / ItemSeparator

Function ItemSeparator

src/components/ui/item.tsx:19–31  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof Separator>)

Source from the content-addressed store, hash-verified

17}
18
19function 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
33const 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

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected