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) • 759 B
TypeScript
import * as React from 'react';
import { type VariantProps } from 'class-variance-authority';
/**
* Very small Shadcn-lookalike button built with tailwind + cva helper.
* It supports the `variant` and `size` props used by the standard shadcn Button.
*/
declare const buttonVariants: (props?: ({
variant?: "default" | "secondary" | "outline" | null | undefined;
size?: "default" | "sm" | "lg" | null | undefined;
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
}
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
export {};