Last active
November 27, 2017 12:53
-
-
Save norbajunior/9a6a8deeefb4baa91730ecfa91bfed98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class App extends Component { | |
render() { | |
return <TopBarNotification /> | |
} | |
} | |
class TopBarNotification extends Component { | |
render() { | |
return <Notification /> | |
} | |
} | |
class Notification extends Component { | |
render() { | |
return ( | |
<View> | |
<Image source={this.props.avatar} /> | |
<Text>Nova Mensagem</Text> | |
<Text>{this.props.message}</Text> | |
</View> | |
) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment