| 1 | import type { ButtonHTMLAttributes, ReactNode } from 'react'; |
| 2 | |
| 3 | export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> { |
| 4 | variant?: 'primary' | 'secondary' | 'ghost'; |
| 5 | size?: 'sm' | 'md' | 'lg'; |
| 6 | children: ReactNode; |
| 7 | } |
| 8 | |
| 9 | const variantClass: Record<NonNullable<ButtonProps['variant']>, string> = { |
| 10 | primary: |
nothing calls this directly
no outgoing calls
no test coverage detected