From e9a622bf088a68701923c5eeeaadf25f898bdf92 Mon Sep 17 00:00:00 2001 From: G Date: Mon, 27 May 2024 17:25:31 +0000 Subject: [PATCH] a basic transaction info component --- src/components/TransactionInformationsItem.tsx | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/components/TransactionInformationsItem.tsx diff --git a/src/components/TransactionInformationsItem.tsx b/src/components/TransactionInformationsItem.tsx new file mode 100644 index 0000000..8657439 --- /dev/null +++ b/src/components/TransactionInformationsItem.tsx @@ -0,0 +1,49 @@ +import type { PaymentCode } from "@/utils/requests/Types"; +import { images } from "@styles/Commons"; +import { Image } from "react-native"; +import Box from "./bases/Box"; +import Text from "./bases/Text"; + +interface Props { + paymentType: PaymentCode; + reference: string; + date: string; + amount: number; + status: "success" | "pending" | "failed" | "canceled"; +} + +const TransactionInformationsItem = () => { + return ( + + + + + + Reference + 12 Janvier 2099 + + + + 7,000,000 + + + + ); +}; + +export default TransactionInformationsItem; -- libgit2 0.27.1