import { default as React } from 'react'; export interface PortalProps { /** Add custom class to portal, default class is portal-container */ className?: string; /** Content to be displayed in Portal */ children?: React.ReactNode; /** Default is document.body */ parent?: HTMLElement; /** Sets the data-testid attribute. */ testId?: string; } export default function Portal({ children, parent, className, testId }: PortalProps): React.ReactPortal;