I use react native viewpager this. https://github.com/react-native-community/react-native-viewpager
I used Ref, setPager to change pages when I push the button
But