The CountrySelect component is built on top of the Select component, meaning you can use SelectProps on your component. On top of the props of the Select component, you can also specify the following additional props on your CountrySelect:
type: Set to 4x3 to change the aspect ratio of the flags.
whitelist: Specify two letter country codes to only include the specified values in your select. The values must match the module import names in your countryMap.ts file.
blacklist: If you’d like to display the whole list and only remove a few countries, you can use the blacklist prop which works in the opposite way.
The CountrySelect component supports 250 different flags. For optimal performance, it is recommended to either remove unused flags from your countryMap.ts file or use the whitelist prop to limit the rendered list.
Flag Type
Simply set the type prop to 4x3 to use visually smaller flag icons. By default, the aspect ratio of the flags are set to 1x1.