Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

220 B
Raw Blame
import type { EditorMode, EditorTool } from '../types';

export function modeForTool(tool: EditorTool): EditorMode {
  if (tool === 'crop') return 'crop';
  if (tool === 'redact') return 'redact';
  return 'annotate';
}