Files
image-studio/view/toolLabels.ts
2026-07-03 17:39:00 +02:00

17 lines
321 B
TypeScript

import type { ToolId } from "@editor/tools";
export function labelForTool(tool: ToolId): string {
switch (tool) {
case "crop":
return "Crop";
case "brush":
return "Brush";
case "eraser":
return "Eraser";
case "pan":
return "Pan";
case "select":
return "Select";
}
}