Skip to content

Commit 5290c9e

Browse files
authored
Merge pull request #5 from aouaki/patch-1
Fix style propTypes
2 parents a22d04e + 0cf6609 commit 5290c9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export default class CheckBox extends Component {
3030
leftText: React.PropTypes.string,
3131
leftTextView: React.PropTypes.element,
3232
rightText: React.PropTypes.string,
33-
leftTextStyle: React.PropTypes.object,
33+
leftTextStyle: View.propTypes.style,
3434
rightTextView: React.PropTypes.string,
35-
rightTextStyle: React.PropTypes.object,
35+
rightTextStyle: View.propTypes.style,
3636
checkedImage: React.PropTypes.element,
3737
unCheckedImage: React.PropTypes.element,
3838
onClick: React.PropTypes.func.isRequired,

0 commit comments

Comments
 (0)