Added styles.viewPager to complete example code
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 https://github.com/facebook/react-native/pull/15754 Differential Revision: D5768992 Pulled By: hramos fbshipit-source-id: 39a9f7c208d635e089751015dcf2536144ec0176
This commit is contained in:
parent
ccf49655d9
commit
d0489720f9
|
@ -61,6 +61,9 @@ export type ViewPagerScrollState = $Enum<{
|
|||
*
|
||||
* var styles = {
|
||||
* ...
|
||||
* viewPager: {
|
||||
* flex: 1
|
||||
* },
|
||||
* pageStyle: {
|
||||
* alignItems: 'center',
|
||||
* padding: 20,
|
||||
|
|
Loading…
Reference in New Issue