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