text: import React, { Component } from 'react';
  import {Router, Stack, Scene} from 'react-native-router-flux';
   
  import Login from './pages/Login';
  import Signup from './pages/Signup';
  import profile from './pages/profile'
   
  export default class Routes extends Component {
      render() {
          return (
              <Router barButtonIconStyle ={styles.barButtonIconStyle}
                  hideNavBar={false} 
                  navigationBarStyle={{backgroundColor: '#1565c0',}} 
                  titleStyle={{color: 'white',}}
              >
                  <Stack key="root">
                  <Scene key="login" component={Login} title="Login"/>
                  <Scene key="signup" component={Signup} title="Sign up"/>
                  <Scene key="profile" component={profile} title="profile"/>
                  </Stack>
              </Router>
          )
      }
  }
   
  const styles = {
      barButtonIconStyle: {
          tintColor: 'white'
      }
  }