'use client'; import React from 'react'; import { motion } from 'framer-motion'; interface TextRevealProps { text: string; className?: string; delay?: number; } /** * Animate UI - Text Reveal * Smooth word-by-word blur-in entrance animation triggered on scroll. * Reference: https://animate-ui.com/docs */ export function TextReveal({ text, className = '', delay = 0, }: TextRevealProps) { const words = text.split(' '); return ( {words.map((word, i) => ( {word} ))} ); }