UNPKG

react-achievements-zustand

Version:

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

8 lines (7 loc) 487 B
import { AchievementDetails } from '../types'; export interface NotificationState { notifications: AchievementDetails[]; } export declare const addNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<AchievementDetails, "notifications/addNotification">, clearNotifications: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notifications/clearNotifications">; declare const _default: import("@reduxjs/toolkit").Reducer<NotificationState>; export default _default;