import React from "react"; import { Select } from "antd"; const { Option } = Select; interface BudgetDurationDropdownProps { value?: string | null; onChange: (value: string) => void; className?: string; style?: React.CSSProperties; } const BudgetDurationDropdown: React.FC = ({ value, onChange, className = "", style = {} }) => { return ( ); }; export const getBudgetDurationLabel = (value: string | null | undefined): string => { if (!value) return "Not set"; const budgetDurationMap: Record = { "24h": "daily", "7d": "weekly", "30d": "monthly" }; return budgetDurationMap[value] || value; }; export default BudgetDurationDropdown;