V99ButtonIcon¶
Display a ButtonIcon.
I. Props¶
Name | Type | Default | Description |
---|---|---|---|
iconName | IconCDNType | - | Icon name of Button |
iconSize | V99IconSize | V99IconSize.s24 | Set size for icon |
rightText | React.ReactNode | - | Show Text to the right of the button |
isFocus | boolean | - | Is focus the button |
disabled | boolean | - | If true, disable all interactions for this component. |
onPress | () => void | - | Handle callback when press button |
II. Usage¶
Example¶
<V99ButtonIcon iconName={'system_setting'} />
<V99ButtonIcon
iconName={'coin_v99'}
rightText={<V99Text color={V99Colors.primary900} L2>V99</V99Text>}
key={'coin_v99'}
/>