Skip to content

Commit 23717c6

Browse files
yungstersfacebook-github-bot
authored andcommitted
RN: Remove DeprecatedPropTypes
Summary: Removes all of the `DeprecatedPropTypes` modules from React Native. Any call sites that were deep-linking to these modules and still requires them can instead import them from the `deprecated-react-native-prop-types` package. Since this also removes the last reference to `prop-types`, this diff also removes the `prop-types` dependency from `react-native`. 🥳 Changelog: [General][Removed] DeprecatedPropTypes (deep-link) modules removed from React Native. Reviewed By: kacieb Differential Revision: D33671645 fbshipit-source-id: 91829a556b272bbd17ee94806fc548af753593db
1 parent f12c8fb commit 23717c6

21 files changed

+0
-2511
lines changed

BUCK

-1
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,6 @@ rn_library(
729729
"//xplat/js:node_modules__nullthrows",
730730
"//xplat/js:node_modules__pretty_19format",
731731
"//xplat/js:node_modules__promise",
732-
"//xplat/js:node_modules__prop_19types",
733732
"//xplat/js:node_modules__react_19devtools_19core",
734733
"//xplat/js:node_modules__react_19refresh",
735734
"//xplat/js:node_modules__react_19shallow_19renderer",

Libraries/DeprecatedPropTypes/DeprecatedColorPropType.js

-76
This file was deleted.

Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType.js

-28
This file was deleted.

Libraries/DeprecatedPropTypes/DeprecatedImagePropType.android.js

-131
This file was deleted.

Libraries/DeprecatedPropTypes/DeprecatedImagePropType.ios.js

-82
This file was deleted.

Libraries/DeprecatedPropTypes/DeprecatedImageSourcePropType.js

-40
This file was deleted.

0 commit comments

Comments
 (0)