mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +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
@@ -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).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user