UNPKG

@wordpress/interactivity

Version:

Package that provides a standard and simple way to handle the frontend interactivity of Gutenberg blocks.

9 lines 532 B
/** * Create a `Portal` to continue rendering the vnode tree at a different DOM node * * @param {import('./internal').VNode} vnode The vnode to render * @param {import('./internal').PreactElement} container The DOM node to continue rendering in to. */ export function createPortal(vnode: any, container: any): import("preact").VNode<createElement.JSX.DOMAttributes<HTMLInputElement> & import("preact").ClassAttributes<HTMLInputElement>>; import { createElement } from 'preact'; //# sourceMappingURL=portals.d.ts.map