design modal map in step 2

This commit is contained in:
Ehsan
2024-10-21 00:30:50 +03:30
parent 24fbae8797
commit 97939fb101
5 changed files with 143 additions and 62 deletions
+2 -3
View File
@@ -9,7 +9,7 @@ import GeneralInformation from "./listMenu/generalInformation";
import Step from "./Step";
function AddDoctorPage() {
const [value, setValue] = useState(2);
const [value, setValue] = useState(1);
const [data, setData] = useState({
general: {
name: { value: "", placeholder: "احسان احمدی", isEdit: true },
@@ -25,7 +25,7 @@ function AddDoctorPage() {
degree: { value: "", isEdit: true },
},
office: {
address: { value: "", isEdit: true },
address: { value: "مپ", isEdit: true },
phone: { value: "", placeholder: 1741025645, isEdit: true },
office_number1: { value: "", isEdit: true },
office_number2: { value: "", isEdit: true },
@@ -83,7 +83,6 @@ function AddDoctorPage() {
},
],
});
console.log(data);
const components = [
<GeneralInformation