react-native-modal-dropdown icon indicating copy to clipboard operation
react-native-modal-dropdown copied to clipboard

Request renderButtonText prop to allow View Component

Open mdere opened this issue 7 years ago • 2 comments

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 avatar Oct 01 '18 17:10 mdere

Unless you recommend me going the "children" route?

mdere avatar Oct 01 '18 17:10 mdere

@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 <Button><Text......

I have deactivated the selection and text change and have the onPress on the elements injected. Works inside static navigatorOptions

I would do a pull request but I assume those changes are changing too much of original functionality. https://github.com/blumanski/react-native-modal-dropdown

blumanski avatar Oct 25 '18 03:10 blumanski