import { ClockIcon, PencilSquareIcon, XMarkIcon } from "@heroicons/react/20/solid"; import { cn } from "~/utils/cn"; export function DashboardAgentHeader({ view, onNewChat, onToggleHistory, onClose, }: { view: "chat" | "history"; onNewChat: () => void; onToggleHistory: () => void; onClose: () => void; }) { return (
Chat
); } function IconButton({ label, icon: Icon, onClick, active, }: { label: string; icon: React.ComponentType<{ className?: string }>; onClick: () => void; active?: boolean; }) { return ( ); }