UNPKG

react-achievements-zustand

Version:

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

19 lines (17 loc) 503 B
declare module 'react-confetti' { import { ComponentType } from 'react'; export interface ConfettiProps { width?: number; height?: number; numberOfPieces?: number; recycle?: boolean; run?: boolean; colors?: string[]; gravity?: number; wind?: number; tweenDuration?: number; drawShape?: (ctx: CanvasRenderingContext2D) => void; } const Confetti: ComponentType<ConfettiProps>; export default Confetti; }