iconActive
Description
Optional. Adds an icon for the Two State button in the pressed stateUsage
iconActive?: string;
Parameters
- iconActive - the name of a SVAR icon that starts with the
wxi-
prefix.
Example
<TwoState icon="wxi-alert" iconActive="wxi-check">Click me</TwoState>
Related article: Setting an icon for the pressed state
Related sample: Two State Button