react-native-mock-tmp-build
Version:
A fully mocked and test-friendly version of react native
31 lines (28 loc) • 655 B
JavaScript
import PropTypes from 'prop-types';
import ColorPropType from './ColorPropType';
const ShadowPropTypesIOS = {
/**
* Sets the drop shadow color
* @platform ios
*/
shadowColor: ColorPropType,
/**
* Sets the drop shadow offset
* @platform ios
*/
shadowOffset: PropTypes.shape({
width: PropTypes.number,
height: PropTypes.number,
}),
/**
* Sets the drop shadow opacity (multiplied by the color's alpha component)
* @platform ios
*/
shadowOpacity: PropTypes.number,
/**
* Sets the drop shadow blur radius
* @platform ios
*/
shadowRadius: PropTypes.number,
};
module.exports = ShadowPropTypesIOS;