-
-
Save martinwairegi/ebb16015dbba7e7025e31a47be2fdba0 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
render() { | |
return ( | |
<View> | |
<Button title={'Press me'} onPress={()=>{ | |
this.toast.show('hello world!',2000); | |
}}/> | |
<Toast ref={(toast) => this.toast = toast}/> | |
</View> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment