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.

438 B
Raw Blame
import { renderCell, text } from "../render/cell.js";
import type { Ui } from "../render/ui.js";

export function renderTaskDeleted(
  ui: Ui,
  deleted: { readonly label: string; readonly title: string },
): string[] {
  const { theme, glyphs } = ui;
  return [
    "",
    `  ${theme.success(glyphs.tick)} Deleted ${renderCell([text(deleted.label, theme.strong)], ui)} ${theme.muted(glyphs.separator)} ${deleted.title}`,
    "",
  ];
}