Portal
jsx
import { Portal, PortalProvider } from '@semcore/ui/base-components';PortalProps
| Name | Type | Description |
|---|---|---|
| disablePortal | boolean | Disables children rendering in React portal |
| ignorePortalsStacking | boolean | Disabled attaching portals to the parent portals and enabling attaching directly to document.body |
| onMount | (mounted: boolean) => void | Called when portal mount state changes |
| nodeToMount | Manually set node to mount portal content |