= ({
style = {},
}) => {
return (
-
+
+
+
);
};
-export const getBudgetDurationLabel = (value: string | null | undefined): string => {
+export const getBudgetDurationLabel = (
+ value: string | null | undefined,
+): string => {
if (!value) return "Not set";
-
const budgetDurationMap: Record = {
"1h": "hourly",
"24h": "daily",
"7d": "weekly",
"30d": "monthly",
};
-
return budgetDurationMap[value] || value;
};