"use client"; import Loading from "@/components/loading"; export const AiLoading = ({ text = "AI Assistant is thinking...", showCircle = true, className, }: { text?: string; showCircle?: boolean; className?: string; }) => { return (
{showCircle && }

{text.split("").map((char, index) => ( {char === " " ? "\u00A0" : char} ))}

); };