We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8439fdd commit e632747Copy full SHA for e632747
packages/react-router-native/Link.js
@@ -45,7 +45,7 @@ const __DEV__ = true; // TODO
45
if (__DEV__) {
46
Link.propTypes = {
47
onPress: PropTypes.func,
48
- component: PropTypes.func,
+ component: PropTypes.elementType,
49
replace: PropTypes.bool,
50
to: PropTypes.oneOfType([PropTypes.string, PropTypes.object])
51
};
0 commit comments