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:
4949
5050### Basic usage
5151
52- ```` javascript
52+ ``` javascript
5353 < CheckBox
5454 style= {{flex: 1 , padding: 10 }}
5555 onClick= {()=> this .onClick (data)}
@@ -88,7 +88,9 @@ Props | Type | Optional | Default | Description
8888----------------- | -------- | -------- | ----------- | -----------
8989style | View.propTypes.style | true | | Custom style checkbox
9090leftText | React.PropTypes.string |true | | Custom left Text
91+ leftTextStyle | React.PropTypes.object | true | Custom left Text style
9192rightText | React.PropTypes.string |true | | Custom right Text
93+ rightTextStyle | React.PropTypes.object | true | Custom right Text style
9294checkedImage | React.PropTypes.element | true | Default image | Custom checked Image
9395unCheckedImage | React.PropTypes.element | true | Default image | Custom unchecked Image
9496isChecked | React.PropTypes.bool | true | false | Initialization checkbox checked
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-check-box" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " Checkbox component for react native, it works on iOS and Android." ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments