MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getTaskIcon

Function getTaskIcon

source code/components/TaskListV2.tsx:222–243  ·  view source on GitHub ↗
(status: Task['status'])

Source from the content-addressed store, hash-verified

220 columns: number;
221};
222function getTaskIcon(status: Task['status']): {
223 icon: string;
224 color: keyof Theme | undefined;
225} {
226 switch (status) {
227 case 'completed':
228 return {
229 icon: figures.tick,
230 color: 'success'
231 };
232 case 'in_progress':
233 return {
234 icon: figures.squareSmallFilled,
235 color: 'claude'
236 };
237 case 'pending':
238 return {
239 icon: figures.squareSmall,
240 color: undefined
241 };
242 }
243}
244function TaskItem(t0) {
245 const $ = _c(37);
246 const {

Callers 1

TaskItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected