MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / Button

Function Button

components/ui/button.tsx:41–54  ·  view source on GitHub ↗
({
  className,
  variant = "default",
  size = "default",
  ...props
}: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>)

Source from the content-addressed store, hash-verified

39);
40
41function Button({
42 className,
43 variant = "default",
44 size = "default",
45 ...props
46}: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>) {
47 return (
48 <ButtonPrimitive
49 data-slot="button"
50 className={cn(buttonVariants({ variant, size, className }))}
51 {...props}
52 />
53 );
54}
55
56export { Button, buttonVariants };

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected