File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ export default class CheckBox extends Component {
2929 checkedImage : React . PropTypes . element ,
3030 unCheckedImage : React . PropTypes . element ,
3131 onClick : React . PropTypes . func . isRequired ,
32- isChecked : React . PropTypes . bool . isRequired
33-
32+ isChecked : React . PropTypes . bool . isRequired ,
33+ checkBoxColor : React . PropTypes . string ,
3434 }
3535 static defaultProps = {
3636 isChecked : false ,
@@ -65,7 +65,7 @@ export default class CheckBox extends Component {
6565 var source = this . props . isChecked ? require ( './img/ic_check_box.png' ) : require ( './img/ic_check_box_outline_blank.png' ) ;
6666
6767 return (
68- < Image source = { source } />
68+ < Image source = { source } tintColor = { this . props . checkBoxColor } />
6969 ) ;
7070 }
7171
You can’t perform that action at this time.
0 commit comments