From cf0a0c9477cc3779c9ff3ac3a21cf34715513210 Mon Sep 17 00:00:00 2001 From: Thomas Chazot Date: Mon, 10 Oct 2022 15:33:04 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20classe=20skin=20qui=20va=20pe?= =?UTF-8?q?ut=20=C3=AAtre=20partir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bob_party/Skin.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 bob_party/Skin.js diff --git a/bob_party/Skin.js b/bob_party/Skin.js new file mode 100644 index 0000000..188d579 --- /dev/null +++ b/bob_party/Skin.js @@ -0,0 +1,31 @@ +import React, { Component } from "react"; +import { StyleSheet, View, Text, Alert, Pressable, Image} from 'react-native' + + +class Skin extends Component{ + constructor (props) { + super(props); + } + + render(){ + return( + + + {this.props.Name} + + ); + } +} + +const styles = StyleSheet.create({ + avatar: { + marginTop: 25, + marginLeft: 10, + width: 50, + height: 50, + borderRadius: '50%', + } + }); + +export default Skin; +