Portal
jsx
import Portal, { PortalProvider } from '@semcore/ui/portal';
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 |