deguapp/frontend/app/(app)/(tabs)/beer/index.js

26 lines
558 B
JavaScript
Raw Normal View History

import { View } from "react-native";
import Text from "@components/Text";
import Button from "@components/Button";
import { colors } from "@components/style";
import { router } from "expo-router";
export default function Tab() {
return (
<View style={{ justifyContent: "center", alignItems: "center", flex: 1 }}>
<Text>Tab BEER</Text>
<Button
title="Add Beers"
color={colors.gold}
onPress={() => {
router.replace("/beer/add");
}}
/>
2024-05-08 23:39:49 +02:00
<View style={styles.beerContainer}>
<Text>kokot</Text>
</View>
</View>
);
}