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

Interface UploaderBoxProps

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

Source from the content-addressed store, hash-verified

2import { useTranslation } from '../i18n/context';
3
4interface UploaderBoxProps {
5 onImageSelect: (file: File, dataUrl: string) => void;
6 imageUrl: string | null;
7 onClear: () => void;
8 title: string;
9 description: string;
10}
11
12const UploaderBox: React.FC<UploaderBoxProps> = ({ onImageSelect, imageUrl, onClear, title, description }) => {
13 const [isDragging, setIsDragging] = useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected