UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

14 lines (13 loc) 373 B
import * as React from 'react'; export interface PortalProps { /** * The children to render into the portal. */ children: React.ReactNode; /** * The parent element to render the portal into. If not provided, the portal * will be rendered into the body. */ parent?: HTMLElement; } export declare const Portal: React.FC<PortalProps>;