Switch
Renders a boolean input.
View full example: Switch Example
Configuration
Property | Default | Option | Description |
style | - | - | Style for the switch |
height | 18 | number | Height switch |
bgColor | #3e50fa | string | Custom colors for the switch track |
thumbColor | #fff | string | Color of the foreground switch grip |
circleStyle | - | - | Style of the thumbColor |
onChange | - | function | Return value switch |
Example
switch customize
Last updated