mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 22:35:29 +08:00
Rename and move ViewStylePropTypes (#21415)
Summary: Related to #21342 * Renamed ViewStyleProps to DeprecatedViewStyleProps. * Moved propType declaration to `react-native/Libraries/DeprecatedPropTypes` * ImageProps.js: moved propType declarations to DeprecatedImageProps.js. Pull Request resolved: https://github.com/facebook/react-native/pull/21415 Reviewed By: TheSavior Differential Revision: D10119599 Pulled By: RSNara fbshipit-source-id: 67674039a88dcd570973c7062f86ebdbd6987d28
This commit is contained in:
committed by
Facebook Github Bot
parent
c70abb393f
commit
d6f3d37802
@@ -14,7 +14,7 @@ const DeprecatedEdgeInsetsPropType = require('DeprecatedEdgeInsetsPropType');
|
||||
const PlatformViewPropTypes = require('PlatformViewPropTypes');
|
||||
const PropTypes = require('prop-types');
|
||||
const DeprecatedStyleSheetPropType = require('DeprecatedStyleSheetPropType');
|
||||
const ViewStylePropTypes = require('ViewStylePropTypes');
|
||||
const DeprecatedViewStylePropTypes = require('DeprecatedViewStylePropTypes');
|
||||
|
||||
const {
|
||||
AccessibilityComponentTypes,
|
||||
@@ -23,7 +23,9 @@ const {
|
||||
AccessibilityStates,
|
||||
} = require('ViewAccessibility');
|
||||
|
||||
const stylePropType = DeprecatedStyleSheetPropType(ViewStylePropTypes);
|
||||
const stylePropType = DeprecatedStyleSheetPropType(
|
||||
DeprecatedViewStylePropTypes,
|
||||
);
|
||||
|
||||
module.exports = {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user