How do I apply class name wildcard styles with UseStyles? I want to apply this CSS, with all class names prefixes with MuiFormHelperText.
const useStyles = makeStyles({
helperText: {
'& .MuiFormHelperText-root': {
height: '0',
marginTop: '0',
},
},
});
Currently, in execution the actual css Class Name is class="MuiFormHelperText-root-1638
in Chrome Inspector. It appends numbers at the end.