Function
ButtonGroup
({
className,
orientation,
...props
}: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>)
Source from the content-addressed store, hash-verified
| 23 | ); |
| 24 | |
| 25 | function ButtonGroup({ |
| 26 | className, |
| 27 | orientation, |
| 28 | ...props |
| 29 | }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>) { |
| 30 | return ( |
| 31 | <div |
| 32 | role="group" |
| 33 | data-slot="button-group" |
| 34 | data-orientation={orientation} |
| 35 | className={cn(buttonGroupVariants({ orientation }), className)} |
| 36 | {...props} |
| 37 | /> |
| 38 | ); |
| 39 | } |
| 40 | |
| 41 | function ButtonGroupText({ |
| 42 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected