From 7e4d2e5f91747ecf4706d5ac997ed52f3288bdb7 Mon Sep 17 00:00:00 2001 From: alguilhot Date: Fri, 21 Oct 2022 18:30:41 +0200 Subject: [PATCH] DEL: Suppression CustomTextInpu --- bob_party/src/components/CustomTextInput.tsx | 30 ------------------- .../src/components/style/TextInput.style.js | 19 ------------ 2 files changed, 49 deletions(-) delete mode 100644 bob_party/src/components/CustomTextInput.tsx delete mode 100644 bob_party/src/components/style/TextInput.style.js diff --git a/bob_party/src/components/CustomTextInput.tsx b/bob_party/src/components/CustomTextInput.tsx deleted file mode 100644 index 20ad69f..0000000 --- a/bob_party/src/components/CustomTextInput.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { FC, ReactNode } from "react" -import { View, TextInput,Text } from "react-native" -import React from "react" -import { trace } from "console" -import { Game } from "../core/game" - -/* - Importing the correct stylesheet -*/ -import styles from "./style/TextInput.style" - -export const CustomTextInput : -/* - * game : Game that must be displayed - * nav : tool needed to allow the navigation between the screens -*/ -FC<{placeholder:String,text:String}> = -({placeholder, text}) => -{ - const [value, onChangeText] = React.useState(placeholder); - return ( - - {text} - - - ) -} \ No newline at end of file diff --git a/bob_party/src/components/style/TextInput.style.js b/bob_party/src/components/style/TextInput.style.js deleted file mode 100644 index 70e38be..0000000 --- a/bob_party/src/components/style/TextInput.style.js +++ /dev/null @@ -1,19 +0,0 @@ -import { StyleSheet } from 'react-native'; - -export default StyleSheet.create({ - input: { - height: 40, - width: 250, - marginBottom:12, - borderWidth: 1, - padding: 10, - alignContent:'center', - backgroundColor:'white' - }, - section:{ - fontSize:15, - alignSelf:'left', - marginLeft:10, - color:'white', - }, -}) \ No newline at end of file