minishouyin/node_modules/rc-util/lib/Portal.d.ts

10 lines
341 B
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
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;