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