From 6d8081853dd61bb75dbce76d6ba88ed3648e5ba6 Mon Sep 17 00:00:00 2001 From: Shawn Dempsey Date: Fri, 18 Nov 2022 17:24:05 -0800 Subject: [PATCH] Remove deprecated prop-types reference for text --- Libraries/Text/Text.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Libraries/Text/Text.js b/Libraries/Text/Text.js index 979bd6ec938f06..dadf2a16379a9f 100644 --- a/Libraries/Text/Text.js +++ b/Libraries/Text/Text.js @@ -181,12 +181,6 @@ const Text: React.AbstractComponent< Text.displayName = 'Text'; -/** - * Switch to `deprecated-react-native-prop-types` for compatibility with future - * releases. This is deprecated and will be removed in the future. - */ -Text.propTypes = require('deprecated-react-native-prop-types').TextPropTypes; - /** * Returns false until the first time `newValue` is true, after which this will * always return true. This is necessary to lazily initialize `Pressability` so