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) • 1.11 kB
TypeScript
import * as React from 'react';
import * as DialogPrimitive from '@radix-ui/react-dialog';
/**
* Lightweight fallback versions of the Shadcn dialog components.
* These wrappers expose the same named exports (`Dialog`, `DialogTrigger`, etc.)
* that TrophyModal expects, but with minimal styling so the package can be
* used without running the Shadcn generator. Consumers can still override the
* styling or replace these with the official shadcn variants later.
*/
export declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
export declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
export declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
export declare const DialogHeader: React.FC<React.HTMLAttributes<HTMLDivElement>>;
export declare const DialogTitle: React.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;