1.1.9 • Published 3 years ago
hue-checkbox v1.1.9
hue-checkbox
A react component can custome checkbox select background color
# via npm
npm install hue-checkbox
# via Yarn
yarn add hue-checkbox
Usage
import HueCheckbox from 'hue-checkbox'
<HueCheckbox checked color="#000000">Apple</HueCheckbox>
<HueCheckbox disabled color="#0000FF">Orange</HueCheckbox>
API
Props
Checkbox
Property | Description | Type | Default | Version |
---|---|---|---|---|
color | Specifies the checkbox selected background color | string | #1890ff | |
checked | Specifies whether the checkbox is selected | boolean | false | |
defaultChecked | Specifies the initial state: whether or not the checkbox is selected | boolean | false | |
disabled | If disable checkbox | boolean | false | |
onChange | The callback function that is triggered when the state changes | function(e:Event) | - |
1.1.1
3 years ago
1.1.0
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago