UNPKG

@twilio-paste/paste-reakit-fork

Version:

Forked Reakit that addresses SSR hydration issues

17 lines (16 loc) 1.68 kB
/// <reference types="react" /> import { DialogBackdropOptions, DialogBackdropHTMLProps } from "../Dialog/DialogBackdrop"; export declare type PopoverBackdropOptions = DialogBackdropOptions; export declare type PopoverBackdropHTMLProps = DialogBackdropHTMLProps; export declare type PopoverBackdropProps = PopoverBackdropOptions & PopoverBackdropHTMLProps; export declare const usePopoverBackdrop: { (options?: DialogBackdropOptions | undefined, htmlProps?: import("..").RoleHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): import("..").RoleHTMLProps; unstable_propsAreEqual: (prev: import("..").RoleOptions & Pick<Partial<import("..").DisclosureStateReturn>, "visible" | "baseId" | "animated" | "animating" | "stopAnimation"> & Pick<Partial<import("..").DialogStateReturn>, "modal"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }, next: import("..").RoleOptions & Pick<Partial<import("..").DisclosureStateReturn>, "visible" | "baseId" | "animated" | "animating" | "stopAnimation"> & Pick<Partial<import("..").DialogStateReturn>, "modal"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }) => boolean; __keys: readonly any[]; __useOptions: (options: DialogBackdropOptions, htmlProps: import("..").RoleHTMLProps) => DialogBackdropOptions; }; export declare const PopoverBackdrop: import("reakit-system/ts/createComponent").Component<"div", DialogBackdropOptions>;