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

13 lines
239 B
TypeScript

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