Move and rename StyleSheetPropType to DeprecatedStyleSheetPropType (#21380)

Summary:
This PR moves and renames all references of StyleSheetPropType  to DeprecatedStyleSheetPropType
Related to #21342
Pull Request resolved: https://github.com/facebook/react-native/pull/21380

Differential Revision: D10098216

Pulled By: TheSavior

fbshipit-source-id: da8d927f87bd37cdabc315e0aa17b6ae208f7124
This commit is contained in:
Dani
2018-09-27 22:53:16 -07:00
committed by Facebook Github Bot
parent f94d2ade86
commit d8b40cc541
5 changed files with 10 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ const DeprecatedEdgeInsetsPropType = require('DeprecatedEdgeInsetsPropType');
const ImageSourcePropType = require('ImageSourcePropType');
const ImageStylePropTypes = require('ImageStylePropTypes');
const PropTypes = require('prop-types');
const StyleSheetPropType = require('StyleSheetPropType');
const DeprecatedStyleSheetPropType = require('DeprecatedStyleSheetPropType');
import type {DimensionValue} from 'StyleSheetTypes';
import type {ViewProps} from 'ViewPropTypes';
@@ -78,7 +78,7 @@ module.exports = {
/**
* See https://facebook.github.io/react-native/docs/image.html#style
*/
style: StyleSheetPropType(ImageStylePropTypes),
style: DeprecatedStyleSheetPropType(ImageStylePropTypes),
/**
* The image source (either a remote URL or a local file resource).
*