import { FormControlLabel, Switch } from "@mui/material";
function SwitchContent({ filter, updateData }) {
return (
updateData("active", event.target.checked ? 1 : 0)
}
/>
}
sx={{
".MuiFormControlLabel-label": {
color: "#3B3B3B",
fontSize: "16px",
fontWeight: 500,
},
marginLeft: "0 !important",
}}
label="فقط پزشکان دارای نوبت"
labelPlacement="start"
/>
);
}
export default SwitchContent;