import { useState } from "react"; import { CaretDownIcon } from "@phosphor-icons/react"; interface ReasoningCardProps { part: { type: "reasoning"; text: string; state?: "streaming" | "done"; }; } export const ReasoningCard = ({ part }: ReasoningCardProps) => { const [isExpanded, setIsExpanded] = useState(true); return (
          {part.text}
        
); };