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.
BOB_PARTY/bob_party/Skin.js

32 lines
623 B

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(
<View>
<Image source={this.props.Photo} style={this.props.Type}/>
<Text>{this.props.Name}</Text>
</View>
);
}
}
const styles = StyleSheet.create({
avatar: {
marginTop: 25,
marginLeft: 10,
width: 50,
height: 50,
borderRadius: '50%',
}
});
export default Skin;