Skip to main content

OverlayContainer

Use the OverlayContainer to create a portal, rendering children in a container that is located outside the hierarchy of the parent component.

OverlayContainerProps

extends
NameTypeDefaultDescription
portalContainer?
document.body

The container element in which the overlay portal will be placed.

ModalContextProviderProps

extends<>
NameTypeDefaultDescription
children
-
Still have questions?
Find answers in the Dynatrace Community