Portal.d.ts 341 B

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