UNPKG

react-achievements-zustand

Version:

This package allows users to transpose a React achievements engine over their React apps using Zustand for state management

16 lines (15 loc) 650 B
import { AchievementState } from './achievementSlice'; import { NotificationState } from './notificationSlice'; export interface RootState { achievements: AchievementState; notifications: NotificationState; } declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{ achievements: AchievementState; notifications: NotificationState; }, import("@reduxjs/toolkit").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<{ achievements: AchievementState; notifications: NotificationState; }, import("@reduxjs/toolkit").AnyAction>]>; export type AppDispatch = typeof store.dispatch; export default store;