File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Then you can use it like this:
49
49
50
50
### Basic usage
51
51
52
- ```` javascript
52
+ ``` javascript
53
53
< CheckBox
54
54
style= {{flex: 1 , padding: 10 }}
55
55
onClick= {()=> this .onClick (data)}
@@ -88,7 +88,9 @@ Props | Type | Optional | Default | Description
88
88
----------------- | -------- | -------- | ----------- | -----------
89
89
style | View.propTypes.style | true | | Custom style checkbox
90
90
leftText | React.PropTypes.string |true | | Custom left Text
91
+ leftTextStyle | React.PropTypes.object | true | Custom left Text style
91
92
rightText | React.PropTypes.string |true | | Custom right Text
93
+ rightTextStyle | React.PropTypes.object | true | Custom right Text style
92
94
checkedImage | React.PropTypes.element | true | Default image | Custom checked Image
93
95
unCheckedImage | React.PropTypes.element | true | Default image | Custom unchecked Image
94
96
isChecked | React.PropTypes.bool | true | false | Initialization checkbox checked
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-check-box" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " Checkbox component for react native, it works on iOS and Android." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments