Skip to content

Commit

Permalink
Added styles.viewPager to complete example code
Browse files Browse the repository at this point in the history
Summary:
Otherwise, you're met with a bewildering blank page. :D

<!--
Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html

Happy contributing!

-->

(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 facebook/react-native#15754

Differential Revision: D5768992

Pulled By: hramos

fbshipit-source-id: 39a9f7c208d635e089751015dcf2536144ec0176
  • Loading branch information
bozdoz authored and facebook-github-bot committed Sep 5, 2017
1 parent c8b9d39 commit 115f598
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ViewPagerAndroid.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ export type ViewPagerScrollState = $Enum<{
*
* var styles = {
* ...
* viewPager: {
* flex: 1
* },
* pageStyle: {
* alignItems: 'center',
* padding: 20,
Expand Down

0 comments on commit 115f598

Please sign in to comment.