Recently, I started using react-select and ran into an issue with applying my styles using scss. While I know there are options for setting styles such as option styles and control, I was seeking a cleaner way to implement them through scss.
What I aim to achieve is shown here:
https://i.sstatic.net/KIOEs.png
However, after applying the className, this is the result I get:
https://i.sstatic.net/5MIQn.png
I wondered if there is a method to disable the preset styles so that I have full control over implementing my own or if there's a way to adjust it to better match my desired style. Below is an example of my CSS:
.shippingCountryDropdownElement {
border: none;
height: 42px;
background-color: red;
color: gray;
outline: none;
font-weight: 400;
font-size: 14px;
line-height: 21px;
cursor: pointer;
&:focus {
box-shadow: none;
}
}
If there's a more suitable solution for a dropdown interface than what this library offers, I am open to exploring other options.