From 115f59840fd23bae157f77d371d33b9933998d68 Mon Sep 17 00:00:00 2001 From: bozdoz Date: Tue, 5 Sep 2017 13:08:04 -0700 Subject: [PATCH] Added styles.viewPager to complete example code Summary: Otherwise, you're met with a bewildering blank page. :D (Write your motivation here.) (Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!) Closes https://github.com/facebook/react-native/pull/15754 Differential Revision: D5768992 Pulled By: hramos fbshipit-source-id: 39a9f7c208d635e089751015dcf2536144ec0176 --- ViewPagerAndroid.android.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ViewPagerAndroid.android.js b/ViewPagerAndroid.android.js index 3d267bf4..6e5bde8d 100644 --- a/ViewPagerAndroid.android.js +++ b/ViewPagerAndroid.android.js @@ -61,6 +61,9 @@ export type ViewPagerScrollState = $Enum<{ * * var styles = { * ... + * viewPager: { + * flex: 1 + * }, * pageStyle: { * alignItems: 'center', * padding: 20,