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.

498 B
Raw Blame
import { CheckCircle2, Clock } from "lucide-react";

export function getStatusIcon(status: "active" | "pending") {
  switch (status) {
    case "active":
      return <CheckCircle2 className="h-4 w-4 text-success-foreground" />;
    case "pending":
      return <Clock className="h-4 w-4 text-warning-foreground" />;
  }
}

export function getStatusText(status: "active" | "pending") {
  switch (status) {
    case "active":
      return "Active";
    case "pending":
      return "Pending";
  }
}