picker icon indicating copy to clipboard operation
picker copied to clipboard

Can we add svg icon inside <Icon.Picker> ?

Open fabioplaka opened this issue 4 years ago • 4 comments

Hello, I have a question because from my research I haven't very clear. Can we add svg icons inside <Picker.Item>?

I have submitted a piece of code:

         return (
              <Picker.Item
                label={<EnglishFlag height={25} width={25} /> + chosenLanguage.label}
                value={chosenLanguage.value}
                key={index}
              />
            );

I want to mention that I want to use svg icons not emojis. Thanks in advance

fabioplaka avatar Jan 12 '21 10:01 fabioplaka

I'm having the same issue... im still trying, if i get the solution i post here.

GuilhermeBorges3Ddev avatar Jan 20 '21 15:01 GuilhermeBorges3Ddev

Hi @fabioplaka @GuilhermeBorges3Ddev, Did you guys get any solution for this? Thank you. I'm struggling

ggepenyan avatar Dec 26 '21 19:12 ggepenyan

Can you please add the icon and image support in <Picker.item/>. It would be very helpful.

deepanshu770 avatar Jun 24 '22 11:06 deepanshu770

this one worked for me after some tuning: https://hossein-zare.github.io/react-native-dropdown-picker-website/docs/usage

marctorsoc avatar May 29 '24 18:05 marctorsoc