Skip to content

Instantly share code, notes, and snippets.

@norbajunior
Last active November 27, 2017 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save norbajunior/9a6a8deeefb4baa91730ecfa91bfed98 to your computer and use it in GitHub Desktop.
Save norbajunior/9a6a8deeefb4baa91730ecfa91bfed98 to your computer and use it in GitHub Desktop.
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