-
Is it possible to change the color of Right now if I add a hover state to I've tried everything myself and searched SO as well, so I'm going here as a last resort and would very much appreciate your help 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello @cpnvr, I would suggest a combination of You use the <Select
classNamePrefix='select'
styles={{
container: (provided) => ({
...provided,
'&:hover .select__single-value': {
color: 'red'
}
})
}}
/> |
Beta Was this translation helpful? Give feedback.
-
Okay I figured it out -- it was
|
Beta Was this translation helpful? Give feedback.
Hello @cpnvr,
I would suggest a combination of
classNamePrefix
and the styling api.You use the
classNamePrefix
prop to apply fixed classes to the inner components (SingleValue
would havePREFIX__single-value
). With this you can apply a:hover
style onto theContainer
component to target theSingleValue
by class.