Homecomponentsaction
Switch
A control that toggles between on and off.
Use Switch to view or switch between enabled or disabled states.
Disabled
Use the disabled property to prevent any interaction with the switch.
Example
Settings
API
id
string
disabled
true
false
on
true
false
onChange
((checked: boolean) => void)
data
DataAttributeMap