UNPKG

rc-util

Version:
10 lines (9 loc) 341 B
import type * as React from 'react'; export type PortalRef = {}; export interface PortalProps { didUpdate?: (prevProps: PortalProps) => void; getContainer: () => HTMLElement; children?: React.ReactNode; } declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<PortalRef>>; export default Portal;