UNPKG

@monchilin/react-native-dropdown

Version:
15 lines (14 loc) 630 B
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } // @ts-ignore import Modal from 'modal-react-native-web'; import React from 'react'; // Modal.setAppElement(document.body) export default function ({ visible, ...props }) { return /*#__PURE__*/React.createElement(Modal, _extends({ visible: visible }, props)); } //# sourceMappingURL=Modal.web.js.map