container

abstract override var container: Element?(source)

An HTML element, component instance, or function that returns either. The container will passed to the Modal component.

By default, it uses the body of the anchorEl's top-level document object, so it's simply document.body most of the time.