UNPKG

@renderlesskit/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

46 lines (45 loc) 2.89 kB
/// <reference types="react" /> import { DialogBackdropHTMLProps, DialogBackdropOptions } from "../dialog"; 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("reakit/ts").BoxHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): import("reakit/ts").BoxHTMLProps; unstable_propsAreEqual: (prev: import("reakit/ts").BoxOptions & Pick<import("..").DisclosureStateReturn, "baseId" | "visible"> & { animationPresent?: boolean | undefined; state: import("../disclosure/helpers").TransitionState; animating: boolean; onEnd: (event: import("react").SyntheticEvent<Element, Event>) => void; isVisible: boolean; isHidden: boolean; } & Pick<Partial<import("../dialog").DialogStateReturn>, "modal"> & { preventBodyScroll?: boolean | undefined; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }, next: import("reakit/ts").BoxOptions & Pick<import("..").DisclosureStateReturn, "baseId" | "visible"> & { animationPresent?: boolean | undefined; state: import("../disclosure/helpers").TransitionState; animating: boolean; onEnd: (event: import("react").SyntheticEvent<Element, Event>) => void; isVisible: boolean; isHidden: boolean; } & Pick<Partial<import("../dialog").DialogStateReturn>, "modal"> & { preventBodyScroll?: boolean | undefined; } & 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("reakit/ts").BoxHTMLProps) => DialogBackdropOptions; }; export declare const PopoverBackdrop: import("../system").Component<"div", import("reakit/ts").BoxOptions & Pick<import("..").DisclosureStateReturn, "baseId" | "visible"> & { animationPresent?: boolean | undefined; state: import("../disclosure/helpers").TransitionState; animating: boolean; onEnd: (event: import("react").SyntheticEvent<Element, Event>) => void; isVisible: boolean; isHidden: boolean; } & Pick<Partial<import("../dialog").DialogStateReturn>, "modal"> & { preventBodyScroll?: boolean | undefined; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }>;