Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

403 B
Raw Blame
import { cn } from "@/lib/cn";
import { resolveLabelColor } from "@/lib/label-color";

type LabelDotProps = {
  color: string;
  className?: string;
};

export function LabelDot({ color, className }: LabelDotProps) {
  return (
    <span
      aria-hidden="true"
      className={cn("size-1.5 shrink-0 rounded-full", className)}
      style={{ backgroundColor: resolveLabelColor(color) }}
    />
  );
}