I am trying to modify the border color when dark mode is enabled in my application, but I am having trouble changing it using inline styling. Here is the code snippet:
<Select
onChange={(e) => filterRegion(e.value)}
placeholder="Filter by region"
className={darkModeOn ? 'dark-list' : 'list'}
style={{ /* need to add border color here */ }}
styles={customStyles}
components={{ ValueContainer, Placeholder, IndicatorsContainer, Group }}
options={regions}
/>