MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTaskIcon

Function getTaskIcon

src/components/TaskListV2.tsx:220–241  ·  view source on GitHub ↗
(status: Task['status'])

Source from the content-addressed store, hash-verified

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

Callers 1

TaskItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected