22 lines
472 B
JavaScript
22 lines
472 B
JavaScript
import { Text, View, Pressable } from "react-native";
|
|
import { Link } from "expo-router";
|
|
|
|
import { Button, ButtonText } from "@/components/ui/button"
|
|
|
|
export default function Index() {
|
|
return (
|
|
<View>
|
|
|
|
<Link href="/notices" asChild>
|
|
<Pressable>
|
|
<Text>Notices</Text>
|
|
</Pressable>
|
|
</Link>
|
|
|
|
<Button size="md" variant="solid" action="primary">
|
|
<ButtonText>Zobacz ogłoszenie</ButtonText>
|
|
</Button>
|
|
</View>
|
|
);
|
|
}
|