mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-25 12:33:49 +00:00
add button type="icon"
This commit is contained in:
@@ -5,7 +5,7 @@ import s from './button.module.scss'
|
||||
export type ButtonProps<T extends ElementType = 'button'> = {
|
||||
as?: T
|
||||
children: ReactNode
|
||||
variant?: 'primary' | 'secondary' | 'tertiary' | 'link'
|
||||
variant?: 'primary' | 'secondary' | 'tertiary' | 'link' | 'icon'
|
||||
fullWidth?: boolean
|
||||
className?: string
|
||||
} & ComponentPropsWithoutRef<T>
|
||||
|
||||
Reference in New Issue
Block a user