interface AnimatedWaveProps {
text: string;
className?: string;
duration?: string;
waveHeight?: string;
}
export function AnimatedWave({
text,
className = "",
duration = "1.3s",
waveHeight = "4px",
}: AnimatedWaveProps) {
const characters = text.split("");
return (
<>
{characters.map((char, index) => (
{char === " " ? "\u00A0" : char}
))}
>
);
}