import { View, Text } from "react-native";
import { Link } from "expo-router";
import { Button, ButtonText } from "@/components/ui/button";

export default function Home() {
  return (
    <View>
      <Text>Home</Text>
      <Link href="/notices" asChild>
        <Button>
          <ButtonText>Ogłoszenia</ButtonText>
        </Button>
      </Link>

      <Link href="/wishlist" asChild>
        <Button variant="outline" className="mt-2">
          <ButtonText>Ulubione</ButtonText>
        </Button>
      </Link>
    </View>
  );
}
