Files
kandev/apps/web/components/kanban-card-priority-indicator.tsx
T
Henry f441399441 feat(tasks): show and set task priority on the kanban board (#3333)
Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
2026-09-05 10:15:19 +00:00

18 lines
587 B
TypeScript

"use client";
import { TaskPriorityIndicator } from "@/components/task/task-priority-indicator";
import type { TaskPriority } from "@/lib/types/http";
/**
* `medium` is the default and majority case, so it renders no indicator —
* the signal is the exception, not decoration on every card. An absent or
* unrecognized value renders nothing rather than the raw token.
*/
export function KanbanCardPriorityIndicator({
priority,
}: {
priority?: TaskPriority | string | null;
}) {
return <TaskPriorityIndicator priority={priority} testId="kanban-card-priority-indicator" />;
}