value
Description
defines whether a button is pressedType
boolean
Default
false
Example
<TwoState value={true}>
Click Me
</TwoState>
Related article: Setting the value
Related sample: Two State Button
boolean
false
<TwoState value={true}>
Click Me
</TwoState>
Related article: Setting the value
Related sample: Two State Button