MCPcopy Index your code
hub / github.com/TheOrcDev/github-creature / ButtonGroupSeparator

Function ButtonGroupSeparator

components/ui/button-group.tsx:64–80  ·  view source on GitHub ↗
({
  className,
  orientation = "vertical",
  ...props
}: React.ComponentProps<typeof Separator>)

Source from the content-addressed store, hash-verified

62}
63
64function ButtonGroupSeparator({
65 className,
66 orientation = "vertical",
67 ...props
68}: React.ComponentProps<typeof Separator>) {
69 return (
70 <Separator
71 data-slot="button-group-separator"
72 orientation={orientation}
73 className={cn(
74 "bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",
75 className
76 )}
77 {...props}
78 />
79 );
80}
81
82export {
83 ButtonGroup,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected