Closed aminos02 closed 3 years ago
You can conditionally pass a selectButtonClassName when there is no selected value and have your styles on that class. For example:
selectButtonClassName
<ReactFlagsSelect selected={selected} selectButtonClassName={!selected ? 'a-placeholder-class' : ''} /> .a-place-holder-class { color: blue; border: 1px solid blue; }
You can conditionally pass a
selectButtonClassName
when there is no selected value and have your styles on that class. For example: