Add DollarSign to AppIcon map (wages app icon)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f89600a135
commit
58b64c5450
2 changed files with 17 additions and 0 deletions
15
src/components/AppIcon.js
Normal file
15
src/components/AppIcon.js
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { jsx as _jsx } from "react/jsx-runtime";
|
||||||
|
import { ClipboardList, ChefHat, Banknote, BedDouble, TrendingUp, Tag, LayoutGrid, Users, Activity, Home, ScrollText, RefreshCw, ArrowUpCircle, Wifi, Terminal, Settings, Building2, CalendarClock, Wrench, BarChart2, Monitor, History, Armchair, UtensilsCrossed, DollarSign, } from 'lucide-react';
|
||||||
|
const iconMap = {
|
||||||
|
ClipboardList, ChefHat, Banknote, BedDouble, TrendingUp, Tag,
|
||||||
|
LayoutGrid, Users, Activity, Home, ScrollText, RefreshCw,
|
||||||
|
ArrowUpCircle, Wifi, Terminal, Settings, Building2, CalendarClock,
|
||||||
|
Wrench, BarChart2, Monitor, History, Armchair, UtensilsCrossed,
|
||||||
|
DollarSign,
|
||||||
|
};
|
||||||
|
export function AppIcon({ name, size = 20, color, strokeWidth = 1.75 }) {
|
||||||
|
const Icon = iconMap[name];
|
||||||
|
if (!Icon)
|
||||||
|
return null;
|
||||||
|
return _jsx(Icon, { size: size, color: color, strokeWidth: strokeWidth });
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,7 @@ import {
|
||||||
LayoutGrid, Users, Activity, Home, ScrollText, RefreshCw,
|
LayoutGrid, Users, Activity, Home, ScrollText, RefreshCw,
|
||||||
ArrowUpCircle, Wifi, Terminal, Settings, Building2, CalendarClock,
|
ArrowUpCircle, Wifi, Terminal, Settings, Building2, CalendarClock,
|
||||||
Wrench, BarChart2, Monitor, History, Armchair, UtensilsCrossed,
|
Wrench, BarChart2, Monitor, History, Armchair, UtensilsCrossed,
|
||||||
|
DollarSign,
|
||||||
} from 'lucide-react'
|
} from 'lucide-react'
|
||||||
import type { LucideProps } from 'lucide-react'
|
import type { LucideProps } from 'lucide-react'
|
||||||
|
|
||||||
|
|
@ -13,6 +14,7 @@ const iconMap: Record<string, IconComponent> = {
|
||||||
LayoutGrid, Users, Activity, Home, ScrollText, RefreshCw,
|
LayoutGrid, Users, Activity, Home, ScrollText, RefreshCw,
|
||||||
ArrowUpCircle, Wifi, Terminal, Settings, Building2, CalendarClock,
|
ArrowUpCircle, Wifi, Terminal, Settings, Building2, CalendarClock,
|
||||||
Wrench, BarChart2, Monitor, History, Armchair, UtensilsCrossed,
|
Wrench, BarChart2, Monitor, History, Armchair, UtensilsCrossed,
|
||||||
|
DollarSign,
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue