import ReactDOM from 'react-dom';
var defaultProps = {
    container: document.body,
};
var Portal = function (props) {
    var container = props.container, children = props.children;
    return ReactDOM.createPortal(children, container);
};
Portal.defaultProps = defaultProps;
export default Portal;
//# sourceMappingURL=index.js.map