27 lines
570 B
TypeScript
27 lines
570 B
TypeScript
import { StyleSheet, View } from "react-native";
|
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
|
|
import { BirthdayList } from "@/components/birthdate-list";
|
|
|
|
export default function HomeScreen() {
|
|
return (
|
|
<SafeAreaView style={styles.screen} edges={["top", "bottom"]}>
|
|
<View style={styles.content}>
|
|
<BirthdayList />
|
|
</View>
|
|
</SafeAreaView>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
screen: {
|
|
flex: 1,
|
|
backgroundColor: "#fff",
|
|
},
|
|
content: {
|
|
flex: 1,
|
|
paddingHorizontal: 16,
|
|
paddingTop: 12,
|
|
},
|
|
});
|