react-native-navigation
react-native-navigation copied to clipboard
Set buttons right with react component.
Issue Description
I need to use the rightButtons property but as a react component, since this button change accordingly to the click event. I've tried doing it, but they did not appear on the navigation bar. Can anybody help me on this?
Steps to Reproduce / Code Snippets / Screenshots
Import and register.

Use mode.

Environment
- React Native Navigation version: v2
- React Native version: 0.54
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Device and emulator API 25
Sorry guys. To create a button, it should follow a certain pattern, for example, my component was not recognized because it was covered by the View tag, when I left just covered by the TouchableOpacity tag and with the Image tag inside, it worked perfectly, as in the example with function variable.