Added Screen component and other pages

This commit is contained in:
bobbert committed 2025-10-24 21:45:55 +01:00
1 parent 1c4e1ea49e
commit 5345bd120b
10 files changed
+113 -89

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, View } from "react-native";
const Screen = ({children}) => {
// Initialisation -------------
// State ----------------------
// Handlers -------------------
// View -----------------------
return (
<View style={styles.screen}>
{children}
<StatusBar style="light" />
</View>
);
};
const styles = StyleSheet.create({
screen: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
export default Screen;