UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

29 lines (28 loc) 730 B
import type { ThemeMode } from "../hooks/use-theme-mode"; import type { DeepPartial } from "../types"; export type StoreProps = DeepPartial<{ /** * Whether to generate dark mode styles * * @default true */ dark: boolean; /** * Theme mode * * Can be `"light"`, `"dark"`, or `"auto"` * * @default "auto" */ mode: ThemeMode; /** * Prefix to apply to base class list * * @default undefined */ prefix: string; }>; export declare function setStore(data: StoreProps): void; export declare function getDark(): StoreProps["dark"]; export declare function getMode(): StoreProps["mode"]; export declare function getPrefix(): StoreProps["prefix"];