Skip to content

Instantly share code, notes, and snippets.

@mmazzarolo
Created September 28, 2018 09:25
Show Gist options
  • Save mmazzarolo/62eea117323d57fa641b17746c591d65 to your computer and use it in GitHub Desktop.
Save mmazzarolo/62eea117323d57fa641b17746c591d65 to your computer and use it in GitHub Desktop.
src/screens/LoginScreen.tsx
import * as React from "react";
import { StyleSheet, Text, View } from "react-native";
class LoginScreen extends React.Component<{}> {
render() {
return (
<View style={styles.container}>
<Text>Welcome to the login screen!</Text>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center"
}
});
export default LoginScreen;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment