diff --git a/src/screens/PaymentResultScreen.tsx b/src/screens/PaymentResultScreen.tsx index 961c7fd..842ac46 100644 --- a/src/screens/PaymentResultScreen.tsx +++ b/src/screens/PaymentResultScreen.tsx @@ -1,10 +1,127 @@ -import { Text, View } from "react-native"; +import type { PaymentStackScreenComponentProps } from "@/navigations/Types"; +import BeasyLogoIcon from "@components/BeasyLogoIcon"; +import Button from "@components/Button"; +import GoBackIconButton from "@components/GoBackIconButton"; +import BackgroundDefault from "@components/backgrounds/BackgroundDefault"; +import Box from "@components/bases/Box"; +import Text from "@components/bases/Text"; +import { LOG } from "@logger"; +// import { Text } from "react-native"; +import { SafeAreaView, useSafeAreaInsets } from "react-native-safe-area-context"; -const PaymentResultScreen = () => { +const log = LOG.extend("PaymentResultScreen"); + +const PaymentResultScreen: PaymentStackScreenComponentProps<"paymentResultScreen"> = ({ + route, + navigation, +}) => { + const insets = useSafeAreaInsets(); + log.debug("insets", insets); return ( - - PaymentResultScreen - + + + + + + navigation.goBack()} /> + + + + Transactions effectué avec succès ! + +