Toggle
Install and import
Examples
Use checked
property
Disabled
With the disabled
property
ConnectedField
Examples with ConnectedField
Properties
Name | Type(s) | Default | Required |
---|---|---|---|
checked | bool | false | |
Component | elementType | S.Checkbox | |
disabled | bool | ||
name | string | ||
onChange | func |
Dependencies
- - @welcome-ui/checkbox^2.0.2
- - @welcome-ui/system^2.0.2
- - reakit^1.1.1
Peer dependencies
- - @xstyled/styled-components^1.17.0
- - @xstyled/system^1.17.0
- - react^16.10.2
- - react-dom^16.10.2
- - styled-components^4.0.0 || ^5.0.0