UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

10 lines (9 loc) 390 B
import type { ThemingProps } from "../../types"; import type { DrawerTheme } from "./Drawer"; export interface DrawerContextValue extends ThemingProps<DrawerTheme> { id?: string; isOpen?: boolean; onClose?: () => void; } export declare const DrawerContext: import("react").Context<DrawerContextValue | undefined>; export declare function useDrawerContext(): DrawerContextValue;