Similarly to the login form, the <Register /> component is a list of input fields saving its changes into the component state until the user is confident enough to press the Register button:
import React from 'react';
import { View, Button as LinkButton } from 'react-native';
import { Form, Item, Input, Content, Button, Text, Spinner } from 'native-base';
import PropTypes from 'prop-types';
class Register extends React.Component {
state = {
email: null,
repeatEmail: null,
name: null,
password: null,
address: null,
postcode: null,
city: null,
};
render() {
return (
<View style={{ flex: 1 }}>
<Content>
<Form>
<Item>
<Input
placeholder="e-mail"
keyboardType={'email-address'}
...