Small Changes (delete index.js)
This commit is contained in:
parent
8f39ec9bf4
commit
c960c41e3a
4 changed files with 45 additions and 32 deletions
|
|
@ -1,21 +1,25 @@
|
|||
import { StyleSheet, View, Text } from 'react-native';
|
||||
import {useThemeColor} from "../hooks/hooks";
|
||||
|
||||
export default function Page() {
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
},
|
||||
text: {
|
||||
color: useThemeColor("color"),
|
||||
fontSize: 70,
|
||||
fontWeight: "bold"
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.text}>Home</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
},
|
||||
text: {
|
||||
fontSize: 70,
|
||||
fontWeight: "bold"
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in a new issue