diff --git a/Libraries/Modal/Modal.js b/Libraries/Modal/Modal.js index 782ec78a334651..064d6481cf8434 100644 --- a/Libraries/Modal/Modal.js +++ b/Libraries/Modal/Modal.js @@ -93,6 +93,11 @@ class Modal extends React.Component { * The `transparent` prop determines whether your modal will fill the entire view. Setting this to `true` will render the modal over a transparent background. */ transparent: PropTypes.bool, + /** + * The `hardwareAccelerated` prop controls whether to force hardware acceleration for the underlying window. + * @platform android + */ + hardwareAccelerated: PropTypes.bool, /** * The `visible` prop determines whether your modal is visible. */ @@ -126,6 +131,7 @@ class Modal extends React.Component { static defaultProps = { visible: true, + hardwareAccelerated: false, }; static contextTypes = { @@ -160,6 +166,7 @@ class Modal extends React.Component {