UNPKG

react-achievements-zustand

Version:

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

15 lines (14 loc) 518 B
import React from 'react'; import { Styles } from '../defaultStyles'; import { AchievementDetails } from '../types'; interface BadgesButtonProps { onClick: () => void; position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; styles: Styles['badgesButton']; unlockedAchievements: AchievementDetails[]; icon?: React.ReactNode; drawer?: boolean; customStyles?: React.CSSProperties; } declare const _default: React.NamedExoticComponent<BadgesButtonProps>; export default _default;