Skip to content

Commit

Permalink
Add more icons (#11204)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored May 2, 2024
1 parent 28dd871 commit a3267f7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions web/src/utils/iconUtil.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { BsPersonWalking } from "react-icons/bs";
import {
FaAmazon,
FaBicycle,
FaBus,
FaCarSide,
FaCat,
FaCheckCircle,
Expand All @@ -11,6 +13,7 @@ import {
FaLeaf,
FaUps,
} from "react-icons/fa";
import { GiHummingbird } from "react-icons/gi";
import { LuBox, LuLassoSelect } from "react-icons/lu";
import { MdRecordVoiceOver } from "react-icons/md";

Expand Down Expand Up @@ -40,10 +43,18 @@ export function getIconForLabel(label: string, className?: string) {
}

switch (label) {
case "bicycle":
return <FaBicycle key={label} className={className} />;
case "bird":
return <GiHummingbird key={label} className={className} />;
case "bus":
return <FaBus key={label} className={className} />;
case "car":
case "vehicle":
return <FaCarSide key={label} className={className} />;
case "cat":
return <FaCat key={label} className={className} />;
case "animal":
case "bark":
case "dog":
return <FaDog key={label} className={className} />;
Expand Down

0 comments on commit a3267f7

Please sign in to comment.