add prettier formatter to all file

This commit is contained in:
Ehsan
2024-09-25 11:03:44 +03:30
parent fa38ee2b21
commit eda896e917
410 changed files with 47636 additions and 43842 deletions
+23 -26
View File
@@ -1,30 +1,27 @@
import { FormControlLabel, Radio, RadioGroup } from "@mui/material"
import { FormControlLabel, Radio, RadioGroup } from "@mui/material";
function Radios({ group, value, changeData }) {
return (
<RadioGroup
value={value}
onChange={e => changeData(e.target.value)}
sx={{
'& .MuiFormControlLabel-root': {
marginRight: '0 !important',
transform: 'translateX(9px)'
}
}}
>
{group.map((item, idx) => (
<FormControlLabel
control={
<Radio
className="!ml-2" />
}
label={item}
value={idx}
key={idx}
/>
))}
</RadioGroup>
)
return (
<RadioGroup
value={value}
onChange={(e) => changeData(e.target.value)}
sx={{
"& .MuiFormControlLabel-root": {
marginRight: "0 !important",
transform: "translateX(9px)",
},
}}
>
{group.map((item, idx) => (
<FormControlLabel
control={<Radio className="!ml-2" />}
label={item}
value={idx}
key={idx}
/>
))}
</RadioGroup>
);
}
export default Radios
export default Radios;