disabled
Description
Optional. Defines whether the Two State button is disabledUsage
disabled?: boolean;
Parameters
true
- the Two State button is enabledfalse
- (default) the Two State button is disabled
Example
<TwoState disabled={true}>Click Me</TwoState>
Details
To disable a Two State button, you can also use the prop without a value:
<TwoState disabled>Click Me</TwoState>
Related article: Setting the disabled state
Related sample: Two State Button