27 lines
719 B
TypeScript
27 lines
719 B
TypeScript
import { ThemedText } from '@/components/themed-text';
|
|
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';
|
|
|
|
export default function AddChantier() {
|
|
|
|
return(
|
|
<ThemedView lvl={3} style={styles.back}>
|
|
<View style={styles.container}>
|
|
<ThemedText>TODO</ThemedText>
|
|
</View>
|
|
</ThemedView>
|
|
)
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
back:{
|
|
height:"100%",
|
|
width:"100%",
|
|
},
|
|
container: {
|
|
flex: 1,
|
|
marginTop: Constants.statusBarHeight, //pour la barre menu du haut
|
|
},
|
|
}); |