UNPKG

@maple-billing/csv-import-react

Version:

Open-source CSV and XLS/XLSX file importer for React and JavaScript

18 lines (17 loc) 819 B
type Theme = "dark" | "light"; type themeStoreType = { theme: Theme; setTheme: (theme?: Theme) => void; }; declare const useThemeStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<themeStoreType>, "persist"> & { persist: { setOptions: (options: Partial<import("zustand/middleware").PersistOptions<themeStoreType, themeStoreType>>) => void; clearStorage: () => void; rehydrate: () => void | Promise<void>; hasHydrated: () => boolean; onHydrate: (fn: (state: themeStoreType) => void) => () => void; onFinishHydration: (fn: (state: themeStoreType) => void) => () => void; getOptions: () => Partial<import("zustand/middleware").PersistOptions<themeStoreType, themeStoreType>>; }; }>; export default useThemeStore;