Toggle
Switches toggle the state of a single setting on or off.
Properties
Name
Type
Description
value
bool
Whether component is checked. Defaults to false.
onValueChange
(boolean) => void
Called when toggle should switch it's value.
disabled
bool
Makes toggle disabled.
Last updated