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

@@ -17,7 +17,7 @@ const PropTypes = require('prop-types');
const React = require('React');
const ReactNative = require('ReactNative');
const StyleSheet = require('StyleSheet');
const StyleSheetPropType = require('StyleSheetPropType');
const DeprecatedStyleSheetPropType = require('DeprecatedStyleSheetPropType');
const ImageViewNativeComponent = require('ImageViewNativeComponent');
const TextAncestor = require('TextAncestor');
@@ -38,7 +38,7 @@ function generateRequestId() {
const ImageProps = {
...DeprecatedViewPropTypes,
style: StyleSheetPropType(ImageStylePropTypes),
style: DeprecatedStyleSheetPropType(ImageStylePropTypes),
/**
* See https://facebook.github.io/react-native/docs/image.html#source
*/