I set listed countries color to gray. onBackgroundTextColor: '#575A89', with this code.
but after i choose a country. i want that country name to look white. but it still looks gray.
is there anyway to change color after select ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue Description
I set listed countries color to gray. onBackgroundTextColor: '#575A89', with this code. but after i choose a country. i want that country name to look white. but it still looks gray. is there anyway to change color after select ?
Steps to Reproduce / Code Snippets
const myTheme = { ...DEFAULT_THEME, fontSize: 16, fontFamily: 'SourceSansPro-Regular', onBackgroundTextColor: '#575A89', backgroundColor: 'white', };
<CountryPicker onSelect={(item) => { setSelectedCountry(item) }} withModal withCountryNameButton countryCode={selectedCountry.cca2} placeholder={<Text style={{ fontSize: 16, fontFamily: 'SourceSansPro-Regular', color: 'white' }}>{selectedCountry}} theme={myTheme} />
Expected Results
i want country names to be gray when they are listed. but when i choose, chosen country name should be white.
Additional Information
Nodejs version: 14.15.5 React version: 17.0.1 React Native version: 0.64.1 react-native-country-picker-modal version: 2.0.0 Platform(s) (iOS, Android, web, or all?): Android