UNPKG

341 BTypeScriptView Raw
1import type * as React from 'react';
2export type PortalRef = {};
3export interface PortalProps {
4 didUpdate?: (prevProps: PortalProps) => void;
5 getContainer: () => HTMLElement;
6 children?: React.ReactNode;
7}
8declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<PortalRef>>;
9export default Portal;