Skip to content

Commit 9754f0d

Browse files
authored
Merge pull request #22 from BasitAli/master
Fixed applying tintColor.
2 parents af062a7 + 1eba4eb commit 9754f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default class CheckBox extends Component {
6767
var source = this.props.isChecked ? require('./img/ic_check_box.png') : require('./img/ic_check_box_outline_blank.png');
6868

6969
return (
70-
<Image source={source} tintColor={this.props.checkBoxColor}/>
70+
<Image source={source} style={{tintColor: this.props.checkBoxColor}} />
7171
);
7272
}
7373

0 commit comments

Comments
 (0)