diff --git a/ui/litellm-dashboard/src/components/CostTrackingSettings/pricing_calculator/index.tsx b/ui/litellm-dashboard/src/components/CostTrackingSettings/pricing_calculator/index.tsx index 426d832bfe6..2fcea2906af 100644 --- a/ui/litellm-dashboard/src/components/CostTrackingSettings/pricing_calculator/index.tsx +++ b/ui/litellm-dashboard/src/components/CostTrackingSettings/pricing_calculator/index.tsx @@ -1,6 +1,8 @@ import React, { useState, useCallback } from "react"; -import { Table, Select, InputNumber, Button, Radio } from "antd"; -import { DeleteOutlined, PlusOutlined } from "@ant-design/icons"; +import { Table, Select, InputNumber } from "antd"; +import { Button } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; +import { Plus, Trash2 } from "lucide-react"; import { PricingCalculatorProps, ModelEntry } from "./types"; import MultiCostResults from "./multi_cost_results"; import { useMultiCostEstimate } from "./use_multi_cost_estimate"; @@ -155,13 +157,15 @@ const PricingCalculator: React.FC = ({ width: 50, render: (_: unknown, record: ModelEntry) => ( ), }, ]; @@ -169,16 +173,32 @@ const PricingCalculator: React.FC = ({ return (
- handleTimePeriodChange(e.target.value)} - size="small" - optionType="button" - buttonStyle="solid" - > - Per Day - Per Month - +
+ + +
= ({ size="small" footer={() => ( )}