import Box from '@mui/joy/Box'; import FormLabel from '@mui/joy/FormLabel'; import Radio from '@mui/joy/Radio'; import RadioGroup from '@mui/joy/RadioGroup'; import Sheet from '@mui/joy/Sheet'; export default function IconlessRadio() { return ( Storage {['512GB', '1TB', '2TB'].map((value) => ( ({ sx: { fontWeight: 'lg', fontSize: 'md', color: checked ? 'text.primary' : 'text.secondary', }, }), action: ({ checked }) => ({ sx: (theme) => ({ ...(checked && { '--variant-borderWidth': '2px', '&&': { // && to increase the specificity to win the base :hover styles borderColor: theme.vars.palette.primary[500], }, }), }), }), }} /> ))} ); }