import React, { Component } from 'react';
import { Button } from 'react-native';

class userInfoPageScreen extends Component {
  render() {
    return (
      <Button
        onPress={() => this.props.navigation.goBack()}
        title="Go back home"
      />
    );
  }
}
export default userInfoPageScreen;
