Function
Button
({
variant = 'primary',
size = 'md',
className = '',
...props
}: ButtonProps)
Source from the content-addressed store, hash-verified
| 63 | icon: 'p-2 text-sm', |
| 64 | }; |
| 65 | export function Button({ |
| 66 | variant = 'primary', |
| 67 | size = 'md', |
| 68 | className = '', |
| 69 | ...props |
| 70 | }: ButtonProps) { |
| 71 | const buttonStyles = cn(baseStyles, variantStyles[variant], sizeStyles[size], className); |
| 72 | return <button className={buttonStyles} {...props} />; |
| 73 | } |
| 74 | |
| 75 | export function LinkButton({ |
| 76 | variant = 'primary', |
Callers
nothing calls this directly
Tested by
no test coverage detected