Closed jadnco closed 6 years ago
Just a note that this removes the warning:
Warning: Failed propType: Invalid props.style key `tintColor` supplied to `View`
But it will not set the defaultSelected
style to anything other than <Text />
or <View />
.
This doesn't work if you pass in a higher-order component that renders its own Text/Image child. We need a different approach.
@ide Yes, you are right. It does get rid of the warning message though. Custom components should just use the renderSelectedIcon
property.
Will close since this issue is more than a year, feel free to a open a new if this is still a issue.
This resolves https://github.com/exponentjs/react-native-tab-navigator/issues/68