import type { IssuePriority } from "@/shared/types";
import { PRIORITY_CONFIG } from "@/features/issues/config";
export function PriorityIcon({
priority,
className = "",
inheritColor = false,
}: {
priority: IssuePriority;
className?: string;
inheritColor?: boolean;
}) {
const cfg = PRIORITY_CONFIG[priority];
// "none" — simple horizontal dashes
if (cfg.bars === 0) {
return (
);
}
const isUrgent = priority === "urgent";
return (
);
}