Skip to content

Instantly share code, notes, and snippets.

@csorlandi
Created September 11, 2018 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csorlandi/b1a9564133736f181d65c72f3f4c6b4d to your computer and use it in GitHub Desktop.
Save csorlandi/b1a9564133736f181d65c72f3f4c6b4d to your computer and use it in GitHub Desktop.
render() {
return (
<View style={styles.container}>
<View style={styles.insideContainer}>
<StatusBar
barStyle="light-content"
backgroundColor={styles.container.backgroundColor}
/>
<Text style={styles.title}>{I18n.t("HOME_pageTitle")}</Text>
<Text style={styles.language}>
{`${I18n.t("HOME_languageDescription")}: ${this.state.language}`}
</Text>
<Text style={styles.description}>
{I18n.t("HOME_pageDescription")}
</Text>
<TextInput
style={styles.input}
placeholder={I18n.t("HOME_nameInputPlaceholder")}
placeholderTextColor={styles.input.color}
/>
<TextInput
style={styles.input}
placeholder={I18n.t("HOME_emailInputPlaceholder")}
placeholderTextColor={styles.input.color}
/>
<TouchableOpacity onPress={() => {}} style={styles.buttonContainer}>
<Text style={styles.buttonText}>
{I18n.t("HOME_loginButtonText")}
</Text>
</TouchableOpacity>
</View>
<View style={styles.footer}>
<TouchableOpacity
onPress={() => {}
style={styles.buttonContainer}
>
<Text style={styles.buttonText}>{I18n.t("HOME_toggleButton")}</Text>
</TouchableOpacity>
</View>
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment