mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-31 04:37:57 +00:00
fixup! 🐛(fix) add react-aria overlays type shim
This commit is contained in:
+15
-2
@@ -1,5 +1,18 @@
|
|||||||
|
import type * as React from 'react';
|
||||||
|
|
||||||
declare module '@react-aria/overlays' {
|
declare module '@react-aria/overlays' {
|
||||||
export function useUNSAFE_PortalContext(): PortalProviderContextValue
|
export type PortalProviderContextValue = {
|
||||||
export const UNSAFE_PortalProvider: (props: PortalProviderProps) => JSX.Element
|
getContainer: () => HTMLElement | null;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type PortalProviderProps = {
|
||||||
|
getContainer: () => HTMLElement | null;
|
||||||
|
children: React.ReactNode;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function useUNSAFE_PortalContext(): PortalProviderContextValue;
|
||||||
|
export function UNSAFE_PortalProvider(
|
||||||
|
props: PortalProviderProps,
|
||||||
|
): JSX.Element;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user