UNPKG

@10up/block-components

Version:

10up Components built for the WordPress Block Editor.

16 lines 523 B
import type { FC } from 'react'; interface PopoverComponentProps { children: React.ReactNode; } export declare const usePopover: () => { setPopoverAnchor: import("react").Dispatch<import("react").SetStateAction<undefined>>; toggleVisible: () => void; toggleProps: { onClick: () => void; 'aria-expanded': boolean; ref: import("react").Dispatch<import("react").SetStateAction<undefined>>; }; Popover: FC<PopoverComponentProps>; }; export {}; //# sourceMappingURL=index.d.ts.map