page add panel/doctor role agent && save data crop img && upload img && just roles agent can access panel && save data doctor && add field phone number && remove two tab

This commit is contained in:
Ehsan
2025-07-16 08:13:29 +03:30
parent 1b2573e460
commit c88a371eda
37 changed files with 196 additions and 1193 deletions
@@ -0,0 +1,32 @@
import { FormControlLabel, Radio, RadioGroup } from "@mui/material";
function RadioGender({ changeData, name }) {
return (
<RadioGroup
dir="ltr"
className="!flex radio-mui !flex-row !gap-[36px] !items-center !justify-start"
defaultValue="woman"
onChange={(e) => changeData(e.target.value, "value", name)}
sx={{
"& .muirtl-j204z7-MuiFormControlLabel-root": {
marginLeft: "0 !important",
},
}}
>
<FormControlLabel
label="مرد"
value="man"
control={<Radio />}
className="!text-[#A1A1A1]"
/>
<FormControlLabel
label="زن"
value="woman"
control={<Radio />}
className="!text-[#A1A1A1]"
/>
</RadioGroup>
);
}
export default RadioGender;