MCPcopy Create free account
hub / github.com/adobe/react-spectrum / OverlayProvider

Function OverlayProvider

packages/react-aria/src/overlays/useModal.tsx:111–117  ·  view source on GitHub ↗
(props: ModalProviderProps)

Source from the content-addressed store, hash-verified

109 * overlay should be accessible at once.
110 */
111export function OverlayProvider(props: ModalProviderProps): JSX.Element {
112 return (
113 <ModalProvider>
114 <OverlayContainerDOM {...props} />
115 </ModalProvider>
116 );
117}
118
119export interface OverlayContainerProps extends ModalProviderProps {
120 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected