flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
9 lines (8 loc) • 331 B
TypeScript
/// <reference types="react" />
import type { FlowbiteSidebarTheme } from "./Sidebar";
export type SidebarContext = {
theme: FlowbiteSidebarTheme;
isCollapsed: boolean;
};
export declare const SidebarContext: import("react").Context<SidebarContext | undefined>;
export declare function useSidebarContext(): SidebarContext;