import React, { Component } from 'react'; import { Image, StatusBar, StyleSheet, Text, View } from 'react-native'; import { TabNavigation, TabNavigationItem } from '@expo/ex-navigation'; import { Ionicons } from '@expo/vector-icons'; function getColor(isSelected) { return isSelected ? '#fff' : '#000'; } export default class TranslucentBarExample extends Component { static route = { navigationBar: { title: 'Translucent Bars', backgroundColor: 'rgba(255,255,255,0.5)', tintColor: '#222', translucent: true, }, }; render() { return ( ( )}> ( )}> ( )}> ); } _renderTitle = (isSelected, title) => { return ( {title} ); }; } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fafafa', }, image: { flex: 1, height: null, width: null, resizeMode: 'cover', }, selectedTab: { backgroundColor: 'rgba(0,0,255, 0.4)', }, });