mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Added iOS indicatorStyle prop to ScrollView
Summary: Hi, The doc wording was adapted from https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIScrollView_Class/#//apple_ref/doc/c_ref/UIScrollViewIndicatorStyle Note that the iOS doc is misleading, and `UIScrollViewIndicatorStyleDefault` is the same as `UIScrollViewIndicatorStyleBlack` (since iOS 7 I think). Let me know what you think. Closes https://github.com/facebook/react-native/pull/5583 Reviewed By: svcscm Differential Revision: D2870011 Pulled By: nicklockwood fb-gh-sync-id: d28a96e1a2d4610cbeaee0ae70108ab9d9f05fdb
This commit is contained in:
committed by
facebook-github-bot-6
parent
f685878938
commit
b84f5fb6c9
@@ -838,6 +838,7 @@ RCT_SET_AND_PRESERVE_OFFSET(setBouncesZoom, BOOL)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setCanCancelContentTouches, BOOL)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setDecelerationRate, CGFloat)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setDirectionalLockEnabled, BOOL)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setIndicatorStyle, UIScrollViewIndicatorStyle)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setKeyboardDismissMode, UIScrollViewKeyboardDismissMode)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setMaximumZoomScale, CGFloat)
|
||||
RCT_SET_AND_PRESERVE_OFFSET(setMinimumZoomScale, CGFloat)
|
||||
|
||||
Reference in New Issue
Block a user