UNPKG

react-achievements-zustand

Version:

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

11 lines (10 loc) 275 B
import React from 'react'; interface AchievementProps { metric: number; threshold: number; onAchieve: () => void; message: string; children: React.ReactNode; } declare const _default: React.NamedExoticComponent<AchievementProps>; export default _default;