| 25 | }); |
| 26 | |
| 27 | export interface ButtonProps |
| 28 | extends React.ButtonHTMLAttributes<HTMLButtonElement>, |
| 29 | VariantProps<typeof buttonVariants> { |
| 30 | asChild?: boolean; |
| 31 | } |
| 32 | |
| 33 | const Button = React.forwardRef<HTMLButtonElement, ButtonProps>( |
| 34 | ({ className, variant, size, asChild = false, ...props }, ref) => { |
nothing calls this directly
no outgoing calls
no test coverage detected