NavigatorIOS Right Icon Button

To add a right icon button to a NavigatorIOS just do this:

import Icon from ‘react-native-vector-icons/FontAwesome’;
componentWillMount() {
Icon.getImageSource(‘search’, 20).then((source) => this.setState({ searchIcon: source }));
}
this.props.navigator.push({
title: 'Screen',
component: ScreenComponent,
rightButtonIcon: this.state.searchIcon
});
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.