import React, { Component, Text, View, ScrollView, TouchableOpacity, StyleSheet } from 'react-native'; export default class ThirdTabScreen extends Component { static navigatorStyle = { drawUnderTabBar: true }; constructor(props) { super(props); } render() { return ( Push Plain Screen Push Styled Screen Push Styled Screen 2 Show Modal Screen ); } onPushPress() { this.props.navigator.push({ title: "More", screen: "example.PushedScreen" }); } onPushStyledPress() { this.props.navigator.push({ title: "Styled", screen: "example.StyledScreen" }); } onPushStyled2Press () { this.props.navigator.push({ title: "Styled", titleImage: require('../../img/two.png'), screen: "example.StyledScreen" }); } onModalPress() { this.props.navigator.showModal({ title: "Modal", screen: "example.ModalScreen" }); } } const styles = StyleSheet.create({ button: { textAlign: 'center', fontSize: 18, marginBottom: 10, marginTop:10, color: 'blue' } });