diff --git a/src/app/screens/NoInternetConnectionScreen.js b/src/app/screens/NoInternetConnectionScreen.js new file mode 100644 index 0000000..3bf23dc --- /dev/null +++ b/src/app/screens/NoInternetConnectionScreen.js @@ -0,0 +1,47 @@ +import React from "react"; +import { StyleSheet, Text, View } from "react-native"; +import { MaterialCommunityIcons } from "@expo/vector-icons"; +import colors from "../config/colors"; +import { dimensions } from "../config/dimensions"; + +export default function NoInternetConnectionScreen() { + return ( + + + + + Conecte-se à internet + + Você está offline. Verifique sua conexão com a internet. + + + ); +} + +const styles = StyleSheet.create({ + containter: { + flex: 1, + justifyContent: "center", + padding: 10, + }, + icon:{ + alignSelf:"center", + }, + txtHeader: { + color: colors.primary, + fontSize: dimensions.text.header, + fontWeight: "bold", + textAlign: "center", + paddingBottom: 20, + }, + txtStyle: { + fontSize: dimensions.text.secondary, + fontWeight: "bold", + textAlign: "center", + }, +});