Im trying to change the border color of the ::after pseudo element of a standard textfield from mui, but I cant figure out how
<TextField id="standard-basic" label="Email" variant="standard"/>
this is the textfield that I want to change the color of, Its default is blue. Ive tried the following:
const inputProps = {
style: {
'&.MuiInput-input::after': {
borderBottom:"2px solid red"
},
},
};
<TextField id="standard-basic" label="Email" variant="standard" InputProps={inputProps} />
Didnt work!