1.1.9 • Published 4 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
4 years ago
1.1.0
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago