import { FormControl, FormLabel, RadioGroup, FormControlLabel, Radio, } from "@mui/material"; import { Sex } from "../api/MemberApi"; export function SexSelection(p: { current?: Sex; onChange: (s: Sex) => void; }): React.ReactElement { return ( Sexe p.onChange(e.target.value as Sex)} > } label="Homme" /> } label="Femme" /> ); }