Last active
June 3, 2019 08:51
-
-
Save troZee/87ea3b32e1a9f43fc154e499ff0627e2 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
<View> | |
<MyNativeView ref={this.myNativeView} /> | |
<ButtonContainer> | |
<Button | |
title="Previous" | |
onPress={() => { | |
this.myNativeView.current.goToPreviousPage(); | |
}} | |
/> | |
<Button | |
title="Next" | |
onPress={() => { | |
this.myNativeView.current.goToNextPage(); | |
}} | |
/> | |
</ButtonContainer> | |
<MyNativeView ref={this.myNativeView2} /> | |
<ButtonContainer> | |
<Button | |
title="Previous" | |
onPress={() => { | |
this.myNativeView2.current.goToPreviousPage(); | |
}} | |
/> | |
<Button | |
title="Next" | |
onPress={() => { | |
this.myNativeView2.current.goToNextPage(); | |
}} | |
/> | |
</ButtonContainer> | |
</View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment