design modal crop & handle crop image

This commit is contained in:
Ehsan
2024-10-25 22:16:00 +03:30
parent e874284bb6
commit 638d0d78f5
11 changed files with 193 additions and 56 deletions
@@ -1,11 +1,8 @@
import UploadFile from "@/app/component/UploadFile";
import UploadFile from "@/app/component/uploadFile";
import { useState } from "react";
function Head() {
const [image, setImage] = useState({
file: "",
blob: "",
});
const [image, setImage] = useState("");
return (
<div className="flex items-center justify-center md:justify-start gap-[10px]">