MCPcopy Create free account
hub / github.com/aptabase/aptabase / ButtonProps

Interface ButtonProps

src/webapp/components/Button.tsx:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47};
48
49export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
50 asChild?: boolean;
51 loading?: boolean;
52 size?: keyof typeof sizes;
53 variant?: keyof typeof variants;
54}
55
56const Button = forwardRef<HTMLButtonElement, ButtonProps>(
57 ({ className, variant, size, loading, asChild = false, ...props }, ref) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected