Skip to content

Instantly share code, notes, and snippets.

@diego3g
Created September 11, 2017 17:57
Show Gist options
  • Save diego3g/76008a999fb4459c122656af20b7065e to your computer and use it in GitHub Desktop.
Save diego3g/76008a999fb4459c122656af20b7065e to your computer and use it in GitHub Desktop.
// src/pages/login.js
import React from "react";
import { View } from "react-native";
import { Card, Button, FormLabel, FormInput } from "react-native-elements";
export default ({ navigation }) => (
<View style={{ paddingVertical: 20 }}>
<Card>
<FormLabel>E-mail</FormLabel>
<FormInput placeholder="Digite seu e-mail" />
<FormLabel>Senha</FormLabel>
<FormInput secureTextEntry placeholder="Digite sua senha" />
<Button
buttonStyle={{ marginTop: 20 }}
backgroundColor="#03A9F4"
title="Entrar"
onPress={() => {}}
/>
</Card>
</View>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment