Merge pull request #24485 from BerriAI/litellm_migrate-route-preview-tremor-to-antd

chore: migrate route_preview.tsx from Tremor to Ant Design
This commit is contained in:
ryan-crabbe 2026-03-23 22:51:42 -07:00 • committed by GitHub
commit 4629dfe394
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,8 @@
import React from "react";
import { Card, Title, Subtitle } from "@tremor/react";
import { Card, Typography } from "antd";
import { RightOutlined, InfoCircleOutlined } from "@ant-design/icons";
const { Title, Text } = Typography;
import { getProxyBaseUrl } from "./networking";
interface RoutePreviewProps {
@ -23,8 +25,8 @@ const RoutePreview: React.FC<RoutePreviewProps> = ({ pathValue, targetValue, inc
return (
<Card className="p-5">
<Title className="text-lg font-semibold text-gray-900 mb-2">Route Preview</Title>
<Subtitle className="text-gray-600 mb-5">How your requests will be routed</Subtitle>
<Title level={5} className="text-lg font-semibold text-gray-900 mb-2">Route Preview</Title>
<Text type="secondary" className="text-gray-600 mb-5" style={{ display: "block" }}>How your requests will be routed</Text>
<div className="space-y-5">
{/* Basic routing */}