add anomaly
This commit is contained in:
@@ -4,8 +4,9 @@ import SetStatus from '@/components/setStatus';
|
||||
import { ThemedView, } from '@/components/themed-view';
|
||||
import Constants from 'expo-constants'; //pour connaître la taille de la barre menu de l'OS en haut
|
||||
import React from 'react';
|
||||
import { StyleSheet, View } from 'react-native';
|
||||
import { StyleSheet, View,Text } from 'react-native';
|
||||
import { useChantier } from '../ContextChantier';
|
||||
import Anomaly from '@/components/anomaly';
|
||||
|
||||
|
||||
|
||||
@@ -25,7 +26,7 @@ export default function Home() {
|
||||
<SelectChantier></SelectChantier>
|
||||
</View>
|
||||
<ChantierSummary style={styles.summary} data={{chantier}}/>
|
||||
|
||||
<Anomaly style={styles.anomaly} data={{chantier}}/>
|
||||
</View>
|
||||
</ThemedView>
|
||||
)
|
||||
@@ -47,5 +48,8 @@ const styles = StyleSheet.create({
|
||||
summary:{
|
||||
marginTop:60,
|
||||
padding:10,
|
||||
},
|
||||
anomaly:{
|
||||
padding:10,
|
||||
}
|
||||
});
|
||||
@@ -35,7 +35,7 @@ const LoginScreen: React.FC = () => {
|
||||
|
||||
return (
|
||||
<ThemedView lvl={1} style={styles.container}>
|
||||
<ThemedText style={styles.title}>Se connecter / S'incrire</ThemedText>
|
||||
<ThemedText style={styles.title}>Se connecter</ThemedText>
|
||||
<ThemedTextInput
|
||||
lvl = {2}
|
||||
border = {5}
|
||||
@@ -81,4 +81,4 @@ const styles = StyleSheet.create({
|
||||
padding: 10,
|
||||
marginBottom: 10,
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user