Add more icons (#11204)

This commit is contained in:
Nicolas Mowen 2024-05-02 06:52:44 -06:00 committed by GitHub
parent 28dd871d44
commit a3267f7d44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,8 @@
import { BsPersonWalking } from "react-icons/bs"; import { BsPersonWalking } from "react-icons/bs";
import { import {
FaAmazon, FaAmazon,
FaBicycle,
FaBus,
FaCarSide, FaCarSide,
FaCat, FaCat,
FaCheckCircle, FaCheckCircle,
@ -11,6 +13,7 @@ import {
FaLeaf, FaLeaf,
FaUps, FaUps,
} from "react-icons/fa"; } from "react-icons/fa";
import { GiHummingbird } from "react-icons/gi";
import { LuBox, LuLassoSelect } from "react-icons/lu"; import { LuBox, LuLassoSelect } from "react-icons/lu";
import { MdRecordVoiceOver } from "react-icons/md"; import { MdRecordVoiceOver } from "react-icons/md";
@ -40,10 +43,18 @@ export function getIconForLabel(label: string, className?: string) {
} }
switch (label) { 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 "car":
case "vehicle":
return <FaCarSide key={label} className={className} />; return <FaCarSide key={label} className={className} />;
case "cat": case "cat":
return <FaCat key={label} className={className} />; return <FaCat key={label} className={className} />;
case "animal":
case "bark": case "bark":
case "dog": case "dog":
return <FaDog key={label} className={className} />; return <FaDog key={label} className={className} />;