MCPcopy
hub / github.com/srcbookdev/srcbook / ButtonProps

Interface ButtonProps

packages/components/src/components/ui/button.tsx:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38);
39
40export interface ButtonProps
41 extends React.ButtonHTMLAttributes<HTMLButtonElement>,
42 VariantProps<typeof buttonVariants> {
43 asChild?: boolean;
44}
45
46const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
47 ({ className, variant, size, asChild = false, ...props }, ref) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected