({ className, variant, size, asChild, ...props })
| 10 | }; |
| 11 | |
| 12 | export const Button: FC<Props> = ({ className, variant, size, asChild, ...props }) => { |
| 13 | const Comp = asChild ? Slot : 'button'; |
| 14 | |
| 15 | return <Comp className={variants({ className, variant, size })} {...props} />; |
| 16 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected