Function
ButtonGroupSeparator
({
className,
orientation = "vertical",
...props
}: React.ComponentProps<typeof Separator>)
Source from the content-addressed store, hash-verified
| 62 | } |
| 63 | |
| 64 | function 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 | |
| 82 | export { |
| 83 | ButtonGroup, |
Callers
nothing calls this directly
Tested by
no test coverage detected