From e7ddc59019f737f98b7be6e9abc7106be3a6cdde Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Fri, 28 Sep 2018 23:13:05 -0700 Subject: [PATCH] Renames of ImageSource, ImageStyle, and TextProps propTypes Reviewed By: TheSavior Differential Revision: D10101195 fbshipit-source-id: 5c8cde81f92cac87b6cfe3fc1a36c78e4862c5ff --- Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js b/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js index 690fc1df7..1723bb56c 100644 --- a/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js +++ b/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js @@ -12,11 +12,11 @@ const DeprecatedColorPropType = require('DeprecatedColorPropType'); const DeprecatedEdgeInsetsPropType = require('DeprecatedEdgeInsetsPropType'); +const DeprecatedStyleSheetPropType = require('DeprecatedStyleSheetPropType'); const PropTypes = require('prop-types'); -const StyleSheetPropType = require('DeprecatedStyleSheetPropType'); const TextStylePropTypes = require('TextStylePropTypes'); -const stylePropType = StyleSheetPropType(TextStylePropTypes); +const stylePropType = DeprecatedStyleSheetPropType(TextStylePropTypes); module.exports = { ellipsizeMode: PropTypes.oneOf(['head', 'middle', 'tail', 'clip']),