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

Function ButtonGroup

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

Source from the content-addressed store, hash-verified

23);
24
25function 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
41function ButtonGroupText({
42 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected