celebration-flip
Version:
A beautiful animated flip text component for celebrating milestones with customizable text and hearts
19 lines (18 loc) • 636 B
TypeScript
import React from "react";
import "./CelebrationFlip.css";
export interface CelebrationFlipProps {
/** Main text to display (e.g., "4000 SUSCRIPTORES") */
mainText: string;
/** Secondary text to display (e.g., "¡GRACIAS!") */
secondaryText: string;
/** Primary color for main text */
primaryColor?: string;
/** Secondary color for hearts and secondary text */
secondaryColor?: string;
/** Animation duration in seconds */
duration?: number;
/** Custom CSS class name */
className?: string;
}
declare const CelebrationFlip: React.FC<CelebrationFlipProps>;
export default CelebrationFlip;