mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 14:18:23 +00:00
Summary: related #21342 move TransformPropTypes.js fix flow error - [x] yarn prettier - [x] yarn flow-check-android - [x] yarn flow-check-ios All flow checks pass. [GENERAL] [ENHANCEMENT] [DeprecatedShadowPropTypesIOS.js] - Created. Pull Request resolved: https://github.com/facebook/react-native/pull/21379 Differential Revision: D10098750 Pulled By: TheSavior fbshipit-source-id: f7f2e4bf7b837c00a14b1fbd930d1b29ffb63549
26 lines
665 B
JavaScript
26 lines
665 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
* @format
|
|
*/
|
|
'use strict';
|
|
|
|
const DeprecatedColorPropType = require('DeprecatedColorPropType');
|
|
const ReactPropTypes = require('prop-types');
|
|
|
|
const DeprecatedShadowPropTypesIOS = {
|
|
shadowColor: DeprecatedColorPropType,
|
|
shadowOffset: ReactPropTypes.shape({
|
|
width: ReactPropTypes.number,
|
|
height: ReactPropTypes.number,
|
|
}),
|
|
shadowOpacity: ReactPropTypes.number,
|
|
shadowRadius: ReactPropTypes.number,
|
|
};
|
|
|
|
module.exports = DeprecatedShadowPropTypesIOS;
|