kaneo (minimalist kanban) fork to experiment adding a tangled integration
github.com/usekaneo/kaneo
1import {
2 ChevronDown,
3 ChevronsUp,
4 ChevronUp,
5 CircleAlert,
6 Minus,
7} from "lucide-react";
8
9export function getPriorityIcon(priority: string) {
10 switch (priority) {
11 case "urgent":
12 return (
13 <CircleAlert className="h-[12px] w-[12px] text-destructive-foreground" />
14 );
15 case "high":
16 return (
17 <ChevronsUp className="h-[12px] w-[12px] text-warning-foreground" />
18 );
19 case "medium":
20 return (
21 <ChevronUp className="h-[12px] w-[12px] text-warning-foreground/80" />
22 );
23 case "low":
24 return (
25 <ChevronDown className="h-[12px] w-[12px] text-info-foreground/85" />
26 );
27 case "no-priority":
28 return <Minus className="h-[12px] w-[12px] text-muted-foreground" />;
29 default:
30 return <Minus className="h-[12px] w-[12px] text-muted-foreground" />;
31 }
32}