mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
34 lines
761 B
TypeScript
34 lines
761 B
TypeScript
import { Container } from "@/components/container";
|
|
import { Text, View } from "react-native";
|
|
import { StyleSheet } from "react-native-unistyles";
|
|
|
|
export default function Modal() {
|
|
return (
|
|
<Container>
|
|
<View style={styles.container}>
|
|
<View style={styles.header}>
|
|
<Text style={styles.title}>Modal</Text>
|
|
</View>
|
|
</View>
|
|
</Container>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create((theme) => ({
|
|
container: {
|
|
flex: 1,
|
|
padding: theme.spacing.lg,
|
|
},
|
|
header: {
|
|
flexDirection: "row",
|
|
alignItems: "center",
|
|
justifyContent: "space-between",
|
|
marginBottom: theme.spacing.xl,
|
|
},
|
|
title: {
|
|
fontSize: theme.fontSize["2xl"],
|
|
fontWeight: "bold",
|
|
color: theme.colors.foreground,
|
|
},
|
|
}));
|