import ReactDOM from 'react-dom';
var Portal = function Portal(props) {
  var children = props.children,
    container = props.container;
  return /*#__PURE__*/ReactDOM.createPortal(children, container || document.body);
};
export default Portal;