Kind: global class
Extends: React.omponent
Export: Switch
Component thatdisplays a toggle switch to toggle between two values
PROPERTIES
Param | Type | Description |
---|---|---|
name | string |
name of switch to use for binding together the input and the label |
on | string |
text of the switch when in on position |
off | string |
text of the switch when in off position |
onChange | function |
function to call when the switch changes |
units | Object |
temperature units object |