import * as React from 'react';
import { Portal } from '../../../components/Portal';
import { usePeritext } from '../context';
export const EditorPortal = ({ children }) => {
    const state = usePeritext();
    return React.createElement(Portal, { parent: state.portalEl }, children);
};
//# sourceMappingURL=EditorPortal.js.map