You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mobile/app/(tabs)/(add)/AddScreen.tsx

35 lines
1.3 KiB

import {SafeAreaView, View, Text, ImageBackground, TouchableOpacity} from "react-native";
import React from "react";
import InternalError from "@/components/error/InternalErrorProblem";
export default function AddScreen() {
return (
<ImageBackground
className="h-full w-full"
source={require("assets/images/TrainingPresentation.png")}
>
<SafeAreaView>
<View className="flex-row justify-between items-center mb-4">
<TouchableOpacity
className="bg-blue-500 px-4 py-2 rounded"
>
</TouchableOpacity>
<TouchableOpacity
className="bg-green-500 px-4 py-2 rounded"
>
<Text className="text-white font-bold">Action</Text>
</TouchableOpacity>
</View>
<View className="flex-1 items-center justify-center">
<Text className="text-xl font-semibold">Contenu de l'entraînement</Text>
</View>
</SafeAreaView>
</ImageBackground>
);
}
//<Text className="m-7 font-extrabold">Welcome to Add Screen </Text>
// <Text>We will do it soon</Text>