Renames of ImageSource, ImageStyle, and TextProps propTypes

Reviewed By: TheSavior

Differential Revision: D10101195

fbshipit-source-id: 5c8cde81f92cac87b6cfe3fc1a36c78e4862c5ff
This commit is contained in:
Ramanpreet Nara 2018-09-28 23:13:05 -07:00 committed by Facebook Github Bot
parent 84f18341aa
commit e7ddc59019

View File

@ -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']),