sohobloo / react-native-modal-dropdown

A react-native dropdown/picker/selector component for both Android & iOS.
MIT License
1.19k stars 478 forks source link

Request renderButtonText prop to allow View Component #196

Open mdere opened 5 years ago

mdere commented 5 years ago

So I have the following:

image

But I am trying to bring that arrow to the far right of that container, but when I use View it breaks - so I tried to span the FontAwesome component in the text - but it would be nice so that I can use View here so I can flex it. And I think it would be cool to allow default Value to follow the same cadence than it being a string prop?

mdere commented 5 years ago

Unless you recommend me going the "children" route?

blumanski commented 5 years ago

@mdere I just found this plugin and changed it to how I want to use it. May try it out. Instead of text, react elements are now expected