Skip to content

Commit c389cea

Browse files
authored
Fix local reference to package (#125)
As `prop-types` is it's own packages now, rather than being packages in `React` we have to depend on this also. This was not causing issues for none local references for some reason, but appeared when using the Catalog for windows.
1 parent d96b600 commit c389cea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,7 @@ pspdfkit repo online.
726726
-"react-native": "0.55.4",
727727
+"react-native": "0.53.0",
728728
"react-native-fs": "2.10.14",
729-
-"react-native-pspdfkit": "file:../../",
730-
+"react-native-pspdfkit": "github:PSPDFKit/react-native",
729+
"react-native-pspdfkit": "file:../../",
731730
"react-native-windows": "0.53.0",
732731
"react-navigation": "^1.0.3"
733732
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
},
2323
"peerDependencies": {
2424
"react": "*",
25-
"react-native": "*"
25+
"react-native": "*",
26+
"prop-types": "*"
2627
},
2728
"dependencies": {}
2829
}

0 commit comments

Comments
 (0)