Code
Button API
This component extends the native <button> API. That's why the type prop is not included in the table..
children
ReactNode
β
variant
'base' | 'primary' | 'secondary' | 'ghost' | 'danger' | 'dangerAlt' | 'inverted' | 'invertedAlt';
β
size
'default' | 'large' | 'small';
β
isDisabled
boolean
β
isSelected
boolean
β
isLoading
boolean | 'before' | 'after';
β
iconSpacing
string
β
scaleWhileActive
boolean
β
Example
Last updated