diff --git a/index.js b/index.js index 86dea31..3e3ef66 100755 --- a/index.js +++ b/index.js @@ -30,9 +30,9 @@ export default class CheckBox extends Component { leftText: React.PropTypes.string, leftTextView: React.PropTypes.element, rightText: React.PropTypes.string, - leftTextStyle: React.PropTypes.object, + leftTextStyle: View.propTypes.style, rightTextView: React.PropTypes.string, - rightTextStyle: React.PropTypes.object, + rightTextStyle: View.propTypes.style, checkedImage: React.PropTypes.element, unCheckedImage: React.PropTypes.element, onClick: React.PropTypes.func.isRequired,