diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/SectionHeader.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/SectionHeader.tsx index 632ea961853..49169dc1226 100644 --- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/SectionHeader.tsx +++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/SectionHeader.tsx @@ -1,19 +1,20 @@ -/** - * SectionHeader - Datadog-style header with icon, label, metrics, and copy - */ - -import { Typography, Button, Tooltip } from 'antd'; -import { - MessageOutlined, - CopyOutlined, - DownOutlined, - UpOutlined -} from '@ant-design/icons'; - -const { Text } = Typography; +import { Button } from "@/components/ui/button"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip"; +import { + ChevronDown, + ChevronUp, + Copy, + MessageSquare, +} from "lucide-react"; +import { cn } from "@/lib/utils"; interface SectionHeaderProps { - type: 'input' | 'output'; + type: "input" | "output"; tokens?: number; cost?: number; onCopy: () => void; @@ -22,87 +23,83 @@ interface SectionHeaderProps { turnCount?: number; } -export function SectionHeader({ type, tokens, cost, onCopy, isCollapsed, onToggleCollapse, turnCount }: SectionHeaderProps) { +export function SectionHeader({ + type, + tokens, + cost, + onCopy, + isCollapsed, + onToggleCollapse, + turnCount, +}: SectionHeaderProps) { return (