diff --git a/src/components/Modal/index.ios.js b/src/components/Modal/index.ios.js index 43087549409a..060f8b730a35 100644 --- a/src/components/Modal/index.ios.js +++ b/src/components/Modal/index.ios.js @@ -1,21 +1,15 @@ import React from 'react'; -import {SafeAreaView} from 'react-native'; import withWindowDimensions from '../withWindowDimensions'; import BaseModal from './BaseModal'; 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;