mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-29 00:41:07 +08:00
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:
committed by
Facebook Github Bot
parent
f94d2ade86
commit
d8b40cc541
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user