forked from cemaden-educacao/WPD-MobileApp
analuizaff
3 years ago
8 changed files with 61 additions and 15 deletions
-
47src/app/components/NoGPSError.js
-
2src/app/components/PickEventDateLocation.js
-
5src/app/screens/MapFeedScreen.js
-
13src/app/screens/PluviometerRegisterScreen.js
-
2src/app/screens/PluviometerSharingDataScreen.js
-
2src/app/screens/RainSharingDataScreen.js
-
3src/app/screens/RiverFloodSharingDataScreen.js
-
2src/app/screens/SharingFloodZonesScreen.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 NoGPSError() { |
|||
return ( |
|||
<View style={styles.containter}> |
|||
<View style={styles.icon}> |
|||
<MaterialCommunityIcons |
|||
name="map-marker-outline" |
|||
size={58} |
|||
color={colors.primary} |
|||
alignSelf="center" |
|||
/> |
|||
</View> |
|||
<Text style={styles.txtHeader}>Ops, algo deu errado...</Text> |
|||
<Text style={styles.txtStyle}> |
|||
Não foi possível definir a sua localização. Ative o GPS e tente novamente. |
|||
</Text> |
|||
</View> |
|||
); |
|||
} |
|||
|
|||
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", |
|||
}, |
|||
}); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue