react-native-gh-notetaker icon indicating copy to clipboard operation
react-native-gh-notetaker copied to clipboard

Lesson 6: Can't send object as child of text component

Open nikolasleblanc opened this issue 7 years ago • 0 comments

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.

nikolasleblanc avatar Apr 04 '17 17:04 nikolasleblanc