MCPcopy
hub / github.com/ZHO-ZHO-ZHO/Nano-Bananary / ImageEditorCanvasProps

Interface ImageEditorCanvasProps

components/ImageEditorCanvas.tsx:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { useTranslation } from '../i18n/context';
3
4interface 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
12const ImageEditorCanvas: React.FC<ImageEditorCanvasProps> = ({ onImageSelect, initialImageUrl, onMaskChange, onClearImage, isMaskToolActive }) => {
13 const { t } = useTranslation();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected