mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Add more icons (#11204)
This commit is contained in:
parent
28dd871d44
commit
a3267f7d44
@ -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} />;
|
||||||
|
Loading…
Reference in New Issue
Block a user