react-native-gh-notetaker
react-native-gh-notetaker copied to clipboard
Lesson 6: Can't send object as child of text component
class Dashboard extends React.Component{
render(){
return(
<View style={styles.container}>
<Text> This is the dashboard </Text>
<Text> {this.props.userInfo} </Text>
</View>
)
}
};
Should instead just show one property or a way to turn the object into a string.