import Radio from '@mui/material/Radio' import MRadioGroup from '@mui/material/RadioGroup' import FormControlLabel from '@mui/material/FormControlLabel' import classnames from 'classnames' import React from 'react' import { Label1 } from 'src/components/typography' const RadioGroup = ({ name, label, value, options, onChange, className, labelClassName, radioClassName, }) => { return ( <> {label && ( {label} )} {options.map((option, idx) => (
} label={option.display} className={classnames(labelClassName)} /> {option.subtitle && ( {option.subtitle} )}
))}
) } export default RadioGroup