Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
const ThemedInput = withStyles((theme) => ({
root: {
"&:hover": {
"&$underline": {
"&::before": {
borderColor: theme.palette.primary.dark
}
}
}
},
input: {
fontWeight: 700,
color: theme.palette.primary.main
},
underline: {
"&::before": {
borderColor: theme.palette.primary.main
}
}
}))(Input);
const ThemedSelect = withStyles((theme) => ({
select: {
"&:hover": {
"& ~ $icon": {
color: theme.palette.primary.dark
}
}
},
icon: {}
}))(Select);
<ThemedSelect input={<ThemedInput />}></ThemedSelect>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question