value
Description
Optional. Defines whether a control is switched on/offUsage
value?: boolean;
Parameters
- true - the Switch button is on
- false - (default) the Switch button is off
Example
<Switch value={true} />
Related article: Setting the value
Related sample: Switch Button