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';
iconOnly
iconBefore
iconAfter
isDisabled
boolean
isSelected
boolean
isLoading
boolean | 'before' | 'after';
iconSpacing
string
scaleWhileActive
boolean
Example
Last updated