checkcare/screens/ScreenHome.js

28 lines
623 B
JavaScript
Raw Normal View History

2025-05-15 10:27:59 +07:00
import { StyleSheet, Text, View } from 'react-native';
import Container from '../components/Container';
2025-05-15 10:27:59 +07:00
const ScreenHome = ({ navigation }) => {
return (
<Container>
<View style={styles.header}>
<Text>Ini Header</Text>
</View>
<View style={styles.main}>
<Text>Ini Main Content</Text>
</View>
</Container>
2025-05-15 10:27:59 +07:00
);
}
const styles = StyleSheet.create({
header: {
flex:1,
backgroundColor:"#FFDDDD"
2025-05-15 10:27:59 +07:00
},
main: {
flex:3,
backgroundColor:"#DDFFDD"
}
2025-05-15 10:27:59 +07:00
});
export default ScreenHome;