* Creates a root node that will be aria-hidden if there are other modals open.
(props: ModalProviderProps)
| 96 | * Creates a root node that will be aria-hidden if there are other modals open. |
| 97 | */ |
| 98 | function OverlayContainerDOM(props: ModalProviderProps) { |
| 99 | let {modalProviderProps} = useModalProvider(); |
| 100 | return <div data-overlay-container {...props} {...modalProviderProps} />; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * An OverlayProvider acts as a container for the top-level application. |
nothing calls this directly
no test coverage detected