You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
799 B
35 lines
799 B
import { StatusBar } from "expo-status-bar";
|
|
import { Platform, StyleSheet } from "react-native";
|
|
|
|
import { Text } from "@/components/ui/text";
|
|
import { View } from "react-native";
|
|
|
|
export default function ModalScreen() {
|
|
return (
|
|
<View style={styles.container}>
|
|
<Text style={styles.title}>Modal</Text>
|
|
<View style={styles.separator} />
|
|
|
|
{/* Use a light status bar on iOS to account for the black space above the modal */}
|
|
<StatusBar style={Platform.OS === "ios" ? "light" : "auto"} />
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
},
|
|
title: {
|
|
fontSize: 20,
|
|
fontWeight: "bold",
|
|
},
|
|
separator: {
|
|
marginVertical: 30,
|
|
height: 1,
|
|
width: "80%",
|
|
},
|
|
});
|