UNPKG

@yamada-ui/portal

Version:

Yamada UI portal component

8 lines (5 loc) 247 B
import * as react from 'react'; type PortalContext = HTMLDivElement | null; declare const PortalProvider: react.Provider<PortalContext | undefined>; declare const usePortal: () => PortalContext | undefined; export { PortalProvider, usePortal };