kaneo (minimalist kanban) fork to experiment adding a tangled integration
github.com/usekaneo/kaneo
1import {
2 Archive,
3 CheckCircle2,
4 Circle,
5 CircleDashed,
6 CircleDot,
7 Search,
8} from "lucide-react";
9
10export const getColumnIcon = (columnId: string, isFinal?: boolean) => {
11 switch (columnId) {
12 case "to-do":
13 return <Circle className="w-4 h-4 text-muted-foreground" />;
14 case "in-progress":
15 return <CircleDot className="w-4 h-4 text-muted-foreground" />;
16 case "in-review":
17 return <Search className="w-4 h-4 text-muted-foreground" />;
18 case "done":
19 return <CheckCircle2 className="w-4 h-4 text-muted-foreground" />;
20 case "archived":
21 return <Archive className="w-4 h-4 text-muted-foreground" />;
22 case "planned":
23 return <CircleDashed className="w-4 h-4 text-muted-foreground" />;
24 default:
25 return isFinal ? (
26 <CheckCircle2 className="w-4 h-4 text-muted-foreground" />
27 ) : (
28 <Circle className="w-4 h-4 text-muted-foreground" />
29 );
30 }
31};