UNPKG

react-trophies

Version:

Comprehensive achievement and trophy system for React apps with sound effects, notifications, theming, and visual components. Uses React, React-DOM, Sonner (toast notifications), Howler (sound effects), Zustand (state management), React-Confetti (celebrat

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;