Portal API
Importação
import Portal from '@mui/base/Portal';
// ou
import { Portal } from '@mui/base';Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.
Propriedades
| Nome | Tipo | Padrão | Descrição | 
|---|---|---|---|
| children | node | The children to render into the  container. | |
| container | HTML element | func | A HTML element or function that returns one. The  containerwill have the portal children appended to it.By default, it uses the body of the top-level document object, so it's simply document.bodymost of the time. | |
| disablePortal | bool | false | The  childrenwill be inside the DOM hierarchy of the parent component. | 
O componente não pode manipular ref.