UNPKG

@nex-ui/react

Version:

🎉 A beautiful, modern, and reliable React component library.

15 lines (12 loc) • 396 B
import { RefObject } from 'react'; type PopperContextValue = { setOpen: (open: boolean) => void; open: boolean; referenceRef: RefObject<HTMLDivElement | null>; popperRootRef: RefObject<HTMLDivElement | null>; handleOpen: () => void; handleClose: () => void; }; declare const usePopper: () => PopperContextValue; export { usePopper }; export type { PopperContextValue };