UNPKG

492 BTypeScriptView Raw
1import * as React from 'react';
2import { PortalProps } from './Portal.types';
3/**
4 * Portals provide a first-class way to render children into a DOM node
5 * that exists outside the DOM hierarchy of the parent component.
6 *
7 * Demos:
8 *
9 * - [Portal](https://mui.com/material-ui/react-portal/)
10 *
11 * API:
12 *
13 * - [Portal API](https://mui.com/material-ui/api/portal/)
14 */
15declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<Element>>;
16export default Portal;