amis-rpc-design/node_modules/rc-util/lib/Portal.d.ts
2023-10-07 19:42:30 +08:00

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;