diff --git a/index.js b/index.js index 3e3ef66..ea037ec 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: View.propTypes.style, - rightTextView: React.PropTypes.string, - rightTextStyle: View.propTypes.style, + leftTextStyle: Text.propTypes.style, + rightTextView: React.PropTypes.element, + rightTextStyle: Text.propTypes.style, checkedImage: React.PropTypes.element, unCheckedImage: React.PropTypes.element, onClick: React.PropTypes.func.isRequired,