remove background

This commit is contained in:
hamid zarghami
2025-08-03 16:27:40 +03:30
parent 2b19dc5a71
commit 2059a601aa
4 changed files with 118 additions and 10 deletions
+5 -1
View File
@@ -17,7 +17,8 @@ type Props = {
isReset?: boolean,
useUploadService?: boolean,
onUploadComplete?: (urls: string[]) => void,
onUploadError?: (error: Error) => void
onUploadError?: (error: Error) => void,
onDelete?: () => void
}
const UploadBoxDraggble: FC<Props> = (props: Props) => {
@@ -100,6 +101,9 @@ const UploadBoxDraggble: FC<Props> = (props: Props) => {
if (props.onChangePreview) {
props.onChangePreview(array);
}
if (props.onDelete) {
props.onDelete()
}
}
useEffect(() => {