diff --git a/Libraries/StyleSheet/LayoutAndTransformColorPropTypes.js b/Libraries/StyleSheet/LayoutAndTransformColorPropTypes.js index 4134bbf25..bd0a52cbb 100644 --- a/Libraries/StyleSheet/LayoutAndTransformColorPropTypes.js +++ b/Libraries/StyleSheet/LayoutAndTransformColorPropTypes.js @@ -13,6 +13,7 @@ const ColorPropType = require('ColorPropType'); const LayoutPropTypes = require('LayoutPropTypes'); +const PropTypes = require('react/lib/ReactPropTypes'); const TransformPropTypes = require('TransformPropTypes'); /** @@ -22,6 +23,7 @@ const LayoutAndTransformColorPropTypes = { ...LayoutPropTypes, ...TransformPropTypes, color: ColorPropType, + opacity: PropTypes.number, }; module.exports = LayoutAndTransformColorPropTypes;