Skip to content

Commit 2684b1f

Browse files
authored
Merge pull request #7 from idiot111/proptype
Update propTypes.
2 parents 0ace958 + 4a2dc4d commit 2684b1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 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: View.propTypes.style,
34-
rightTextView: React.PropTypes.string,
35-
rightTextStyle: View.propTypes.style,
33+
leftTextStyle: Text.propTypes.style,
34+
rightTextView: React.PropTypes.element,
35+
rightTextStyle: Text.propTypes.style,
3636
checkedImage: React.PropTypes.element,
3737
unCheckedImage: React.PropTypes.element,
3838
onClick: React.PropTypes.func.isRequired,

0 commit comments

Comments
 (0)