@findnlink/neuro-ui
Version:
Findnlink design system
18 lines (17 loc) • 467 B
TypeScript
declare type Store = {
theme: string;
setTheme: (theme: string) => void;
isLoading: boolean;
setIsLoading: (isLoading: boolean) => void;
toasts: {
children: string;
id: number;
}[];
addToast: (toast: {
children: string;
id: number;
}) => void;
removeToast: (id: number) => void;
};
export declare const useStore: import("zustand").UseBoundStore<Store, import("zustand").StoreApi<Store>>;
export {};