2018-09-28 05:31:28 +03:00
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
*/
|
2019-10-16 20:03:47 +03:00
|
|
|
|
2018-09-28 05:31:28 +03:00
|
|
|
'use strict';
|
|
|
|
|
2019-05-08 18:44:25 +03:00
|
|
|
const DeprecatedColorPropType = require('./DeprecatedColorPropType');
|
2018-09-28 05:31:28 +03:00
|
|
|
const ReactPropTypes = require('prop-types');
|
|
|
|
|
|
|
|
const DeprecatedShadowPropTypesIOS = {
|
|
|
|
shadowColor: DeprecatedColorPropType,
|
2019-08-09 20:06:53 +03:00
|
|
|
shadowOffset: (ReactPropTypes.shape({
|
2018-09-28 05:31:28 +03:00
|
|
|
width: ReactPropTypes.number,
|
|
|
|
height: ReactPropTypes.number,
|
2019-11-21 20:38:13 +03:00
|
|
|
}): React$PropType$Primitive<{
|
|
|
|
height?: number,
|
|
|
|
width?: number,
|
|
|
|
...
|
|
|
|
}>),
|
2018-09-28 05:31:28 +03:00
|
|
|
shadowOpacity: ReactPropTypes.number,
|
|
|
|
shadowRadius: ReactPropTypes.number,
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = DeprecatedShadowPropTypesIOS;
|