MCPcopy
hub / github.com/JCodesMore/ai-website-cloner-template / Button

Function Button

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected