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

Function ButtonGroup

src/components/ui/button-group.tsx:24–38  ·  view source on GitHub ↗
({
  className,
  orientation,
  ...props
}: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>)

Source from the content-addressed store, hash-verified

22)
23
24function ButtonGroup({
25 className,
26 orientation,
27 ...props
28}: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>) {
29 return (
30 <div
31 role="group"
32 data-slot="button-group"
33 data-orientation={orientation}
34 className={cn(buttonGroupVariants({ orientation }), className)}
35 {...props}
36 />
37 )
38}
39
40function ButtonGroupText({
41 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected