add animation to step

This commit is contained in:
Ehsan
2024-10-11 01:16:52 +03:30
parent 854c682535
commit ddb1925fde
8 changed files with 42 additions and 42 deletions
+4 -13
View File
@@ -13,14 +13,6 @@ import ArrowRightPH from "@/components/icons/ArrowRightPH";
import { Button } from "@mui/material";
import Step from "./Step";
const listTab = [
"اطلاعات عمومی",
"اطلاعات مطب",
"نوبت ها",
"روزهای کاری",
"روزهای خاص",
];
function AddDoctorPage() {
const [value, setValue] = useState(0);
const [open, setOpen] = useState(false);
@@ -28,11 +20,10 @@ function AddDoctorPage() {
const handleChange = (event, newValue) => setValue(newValue);
const components = [
<GeneralInformation />,
<OfficeInformation />,
<Turns />,
<WorkingDays />,
<SpecialDays />,
<GeneralInformation setValue={setValue} />,
<OfficeInformation setValue={setValue} />,
<WorkingDays setValue={setValue} />,
<SpecialDays setValue={setValue} />,
];
return (