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