Closed aksonov closed 5 years ago
Good point, I think I will add a renderCountryItem
Just to clarify - I'm talking not about country list items, but how CountryPicker button is displayed (before modal is displyed) - now it is just flag and possible country name. It would be great to show also calling code, etc.
ok
You can use renderFlagButton
.
Thank you so much for fast fix! I want to display callingCode but don't know how - there is no such prop passed to renderFlagButton. Ideally passing country
prop would be great.
How we could do it with latest version? With old version we just put this custom component as CountryPicker children..