forked from mrzachnugent/react-native-reusables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tsx
28 lines (27 loc) · 738 Bytes
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { View, Text } from 'react-native';
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from '~/components/ui/card';
export default function CardScreen() {
return (
<View className='flex-1 justify-center items-center p-6'>
<Card className='w-full max-w-xl'>
<CardHeader>
<CardTitle>Card Title</CardTitle>
<CardDescription>Card Description</CardDescription>
</CardHeader>
<CardContent>
<Text className='text-foreground native:text-xl'>Card Content</Text>
</CardContent>
<CardFooter>
<Text className='text-muted-foreground'>Card Footer</Text>
</CardFooter>
</Card>
</View>
);
}