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.
Tp_ReactNative/JokesApp/App.tsx

39 lines
881 B

import {SafeAreaView, StatusBar, StyleSheet} from 'react-native';
import React from "react";
import {ListJokeScreen} from "./screens/ListJokeScreen";
import {Navigation} from "./navigation/Navigation";
import {darksalmonColor, indigo, purpleColor} from "./Theme";
export default function App() {
return (
<SafeAreaView style={styles.container}>
<StatusBar barStyle="light-content" />
<Navigation/>
</SafeAreaView>
);
}
// Mise à jour des styles pour inclure le style de la liste
const styles = StyleSheet.create({
title: {
fontSize: 24,
color: darksalmonColor,
textAlign: 'center',
marginVertical: 20,
},
titleResume: {
fontSize: 15,
fontWeight: 'bold',
marginBottom: 20,
},
container: {
flex: 1,
backgroundColor: indigo,
},
});