Skip to content

Instantly share code, notes, and snippets.

@norbajunior
Created November 27, 2017 23:38
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/379db37122b8e84ddc93229457e744a6 to your computer and use it in GitHub Desktop.
Save norbajunior/379db37122b8e84ddc93229457e744a6 to your computer and use it in GitHub Desktop.
class Notification extends Component {
render() {
<View style={{ transform: [{ translateY: -100 }] }>
<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