diff --git a/src/components/Modal/index.ios.js b/src/components/Modal/index.ios.js index 43087549409a..60b801b45879 100644 --- a/src/components/Modal/index.ios.js +++ b/src/components/Modal/index.ios.js @@ -1,5 +1,4 @@ import React from 'react'; -import {SafeAreaView} from 'react-native'; import withWindowDimensions from '../withWindowDimensions'; import BaseModal from './BaseModal'; import {propTypes, defaultProps} from './ModalPropTypes'; @@ -7,15 +6,12 @@ import {propTypes, defaultProps} from './ModalPropTypes'; // Only want to use on iOS. Avoids ScrollBar in the middle of the modal. // https://github.com/facebook/react-native/issues/26610 const Modal = props => ( - - - {props.children} - - - + {...props} + > + {props.children} + ); Modal.propTypes = propTypes;