From f2c46408c40942ee2223533cd072e737ce7dc4e1 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 18 Jul 2024 15:11:05 -0600 Subject: [PATCH] Add more icons to event icon types (#12507) --- web/src/utils/iconUtil.tsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/web/src/utils/iconUtil.tsx b/web/src/utils/iconUtil.tsx index 0a49f6dac..f5ab70c9e 100644 --- a/web/src/utils/iconUtil.tsx +++ b/web/src/utils/iconUtil.tsx @@ -10,9 +10,13 @@ import { FaDog, FaFedex, FaFire, + FaFootballBall, + FaMotorcycle, + FaMouse, FaUps, + FaUsps, } from "react-icons/fa"; -import { GiDeer, GiHummingbird } from "react-icons/gi"; +import { GiDeer, GiHummingbird, GiPolarBear, GiSailboat } from "react-icons/gi"; import { LuBox, LuLassoSelect } from "react-icons/lu"; import * as LuIcons from "react-icons/lu"; import { MdRecordVoiceOver } from "react-icons/md"; @@ -27,10 +31,15 @@ export function getIconForLabel(label: string, className?: string) { } switch (label) { + // objects + case "bear": + return ; case "bicycle": return ; case "bird": return ; + case "boat": + return ; case "bus": return ; case "car": @@ -46,10 +55,16 @@ export function getIconForLabel(label: string, className?: string) { return ; case "fire_alarm": return ; + case "motorcycle": + return ; + case "mouse": + return ; case "package": return ; case "person": return ; + case "sports_ball": + return ; // audio case "crying": case "laughter": @@ -64,6 +79,8 @@ export function getIconForLabel(label: string, className?: string) { return ; case "ups": return ; + case "usps": + return ; default: return ; }