32 lines
723 B
TypeScript
32 lines
723 B
TypeScript
import { ThemedView } from "@/components/theme/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 { useChantier } from "../ContextChantier";
|
|
|
|
|
|
export default function TemplateScreen() {
|
|
const { chantier, setChantier } = useChantier();
|
|
|
|
|
|
return (
|
|
<ThemedView lvl={3} style={styles.back}>
|
|
<View style={styles.container}>
|
|
|
|
</View>
|
|
</ThemedView>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
back:{
|
|
height:"100%",
|
|
width:"100%",
|
|
},
|
|
container: {
|
|
flex: 1,
|
|
marginTop: Constants.statusBarHeight, //pour la barre menu du haut
|
|
},
|
|
});
|