10 lines
341 B
TypeScript
10 lines
341 B
TypeScript
|
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;
|