import * as React from 'react'; import {View} from "react-native"; import Ripple from 'react-native-material-ripple'; import MaterialIcons from 'react-native-vector-icons/MaterialCommunityIcons'; import * as Animatable from 'react-native-animatable'; export default (props) => { const nav = props.navigation; const routes = props.isRtl ? nav.state.routes.slice(0).reverse() : nav.state.routes; return ( {routes.map((route, i) => ( { props.jumpTo(route.key); }} style={{flex: 1, height: 56, alignItems: 'center', justifyContent: 'center'}} > {!props.noLabel && {route.key} } ))} ) }