/* * Navbar component within Main */ import React, { Component } from 'react'; import { Dimensions, View, Text, Image, TouchableOpacity } from 'react-native'; import { Actions } from 'react-native-router-flux'; import Icon from 'react-native-vector-icons/MaterialIcons'; import { Fonts } from '../../utils/Fonts.js'; const windowWidth = Dimensions.get('window').width; const windowHeight = Dimensions.get('window').height; type Props = {}; export default class Navbar extends Component { constructor(props) { super(props); } render() { const { openDrawer, avatar } = this.props; return ( online ); } } const styles = { container: { flex: 1, flexDirection: 'row', justifyContent: 'space-between', backgroundColor: '#0e8f9e' }, iconCont: { flex: 1, alignItems: 'center', justifyContent: 'center' }, menuIcon: { fontSize: 30, color: 'white' }, headerTxt: { flex: 7, justifyContent: 'center', alignItems: 'center' }, head: { fontSize: 20, color: 'white', fontFamily: Fonts.Sunflower }, statusCont: { flexDirection: 'row' }, statusIcon: { color: 'green', marginRight: 5 }, statusTxt: { fontSize: 13, color: 'white', fontFamily: Fonts.Sunflower }, avatar: { height: 30, width: 30, borderRadius: 100 } }