When calling CountryPicker.renderFlag (or renderImageFlag/renderEmojiFlag) from outside of the component, such as in the case of rendering a standalone flag, the default styles are not applied. This seems counter-intuitive since the flags are rendered with default styles within the component if none are provided.
The base styles should be applied by default and then be overridden by styles passed to either the component in the styles prop or in the arguments of the renderFlag function.
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.
When calling
CountryPicker.renderFlag
(orrenderImageFlag
/renderEmojiFlag
) from outside of the component, such as in the case of rendering a standalone flag, the default styles are not applied. This seems counter-intuitive since the flags are rendered with default styles within the component if none are provided.The base styles should be applied by default and then be overridden by styles passed to either the component in the styles prop or in the arguments of the renderFlag function.