| 2 | import { useTranslation } from '../i18n/context'; |
| 3 | |
| 4 | interface ImageEditorCanvasProps { |
| 5 | onImageSelect: (file: File, dataUrl: string) => void; |
| 6 | initialImageUrl: string | null; |
| 7 | onMaskChange: (dataUrl: string | null) => void; |
| 8 | onClearImage: () => void; |
| 9 | isMaskToolActive: boolean; |
| 10 | } |
| 11 | |
| 12 | const ImageEditorCanvas: React.FC<ImageEditorCanvasProps> = ({ onImageSelect, initialImageUrl, onMaskChange, onClearImage, isMaskToolActive }) => { |
| 13 | const { t } = useTranslation(); |
nothing calls this directly
no outgoing calls
no test coverage detected