Skip to content

Commit

Permalink
publish v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycodeboy committed Nov 9, 2016
1 parent b530984 commit a22d04e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Then you can use it like this:

### Basic usage

````javascript
```javascript
<CheckBox
style={{flex: 1, padding: 10}}
onClick={()=>this.onClick(data)}
Expand Down Expand Up @@ -88,7 +88,9 @@ Props | Type | Optional | Default | Description
----------------- | -------- | -------- | ----------- | -----------
style | View.propTypes.style | true | | Custom style checkbox
leftText | React.PropTypes.string |true | | Custom left Text
leftTextStyle | React.PropTypes.object | true | Custom left Text style
rightText | React.PropTypes.string |true | | Custom right Text
rightTextStyle | React.PropTypes.object | true | Custom right Text style
checkedImage | React.PropTypes.element | true | Default image | Custom checked Image
unCheckedImage | React.PropTypes.element | true | Default image | Custom unchecked Image
isChecked | React.PropTypes.bool | true | false | Initialization checkbox checked
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-check-box",
"version": "1.0.1",
"version": "1.0.2",
"description": "Checkbox component for react native, it works on iOS and Android.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a22d04e

Please sign in to comment.