1

As you all must know, the classic emojis that are used are the ones that have flapping flags. I need to show the flags along with their countries in picker label, but the rectangular flags I want.

I have found a package that returns a rectangular flag, but it returns it as an object and since an object can't be passed as text in Picker.Item label, I am getting displayed [object Object] instead of those rectangular flags.

If anyone can give an alternate package that has rectangular flags as emojis or a way to an object to be rendered as text, I would forever be in his/her debt.

Thanks.

Manish
  • 471
  • 1
  • 10
  • 22

1 Answers1

1

You can use the Unicode characters of country flags to display them as text.
https://snack.expo.io/@maskedman/flag-labels

Rohit Prasad
  • 271
  • 2
  • 8