From c4baa578829ac88c3d4b8c1dc69de7132b07a63e Mon Sep 17 00:00:00 2001 From: Rayhan Hassou Date: Wed, 8 Nov 2023 11:18:49 +0100 Subject: [PATCH] button component working, the design is not perfect --- LeftOvers/App.js | 12 +- LeftOvers/assets/images/zelda-button.png | Bin 0 -> 525 bytes LeftOvers/components/CustomButton.tsx | 49 +- LeftOvers/react-app-env.d.tsx | 4 + package-lock.json | 8744 ++++++++++++++++++++++ package.json | 7 + 6 files changed, 8781 insertions(+), 35 deletions(-) create mode 100644 LeftOvers/assets/images/zelda-button.png create mode 100644 LeftOvers/react-app-env.d.tsx create mode 100644 package-lock.json create mode 100644 package.json 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 0000000000000000000000000000000000000000..9c246ca0bfb98a0b6fe2623d2b697c1a7bb2f714 GIT binary patch literal 525 zcmeAS@N?(olHy`uVBq!ia0y~yU~~qubvW374Y=9JJfk$L90|U1(2s1Lwnj--e zWGoJHcVbv~PUa<$!;&U>cv7h@-A}dgCk*AAeNCo5D>wB|A0ws<=G*8nhD~-J3 z#B{5Z@u2=5Cc)ez)hBFkRB>P1wlY^-I{$#1qcRuc#;sgRtF0B9E6#Z`U9*0^=IrMK z@@=~9oA=M`1lqyim&0lr>vh|E_armkjO?l36mut*iS#J7eSIQe$1Rxhxrk$ayF%Y4 z*(;l-mzgGf_LDy_ziDf!qi(sMep&hYx% z)$2EJ?M!6eo_BACe%#)F+hX+E8`#n|M}B|uaq-;xq!S+ZVx(sHsLd6)6l52_&*oK; zF{2X?BbOlyharo`5dnoG0t*D38-NHXN(G6-Y;E@s&;MC-jn!n*`RlL3?OCq=IDBoh z*X(EA -