diff --git a/LeftOvers/App.js b/LeftOvers/App.js index 69cb932..4416c6a 100644 --- a/LeftOvers/App.js +++ b/LeftOvers/App.js @@ -1,24 +1,14 @@ import { StatusBar } from 'expo-status-bar'; import React from 'react'; -import { StyleSheet, Text, View, Alert } from 'react-native'; -import CustomButton from './components/CustomButton'; +import { StyleSheet, Text, View} from 'react-native'; export default function App() { - const handleButtonPress = () => { - console.log("test 1"); - }; - - const handleButtonPress2 = () => { - console.log("test 2"); - }; return ( Ceci va etre la page qui charge le splashScreen - - ); } diff --git a/LeftOvers/assets/images/zelda-button.png b/LeftOvers/assets/images/zelda-button.png new file mode 100644 index 0000000..9c246ca Binary files /dev/null and b/LeftOvers/assets/images/zelda-button.png differ diff --git a/LeftOvers/components/CustomButton.tsx b/LeftOvers/components/CustomButton.tsx index 73ba27f..0c261f3 100644 --- a/LeftOvers/components/CustomButton.tsx +++ b/LeftOvers/components/CustomButton.tsx @@ -1,32 +1,33 @@ import React from 'react'; -import { Button, View } from 'react-native'; +import {StyleSheet,Pressable, Text, Image} from 'react-native'; + export default function CustomButton(props) { return ( - -