Add orders screen

This commit is contained in:
thesn10
2026-07-02 22:53:23 +02:00
parent 105df2314c
commit f961b1002a

View File

@@ -0,0 +1,20 @@
import type { JSX } from "react";
import { ScrollView, View } from "react-native";
import { Typography } from "heroui-native";
import { ORDERS } from "@/data/mock";
import { OrderRow } from "@/components/OrderRow";
export default function OrdersTab(): JSX.Element {
return (
<ScrollView className="flex-1 bg-background">
<View className="gap-2.5 p-4 md:mx-auto md:w-full md:max-w-2xl">
<Typography type="h4" className="mb-1">
My Orders
</Typography>
{ORDERS.map((order) => (
<OrderRow key={order.id} order={order} />
))}
</View>
</ScrollView>
);
}