feat(Picker): add swipe-duration prop (#4816)

This commit is contained in:
neverland
2019-10-23 17:21:32 +08:00
committed by GitHub
parent b26a1f3546
commit fe6b12f8c2
6 changed files with 16 additions and 29 deletions
+1
View File
@@ -192,6 +192,7 @@ export default createComponent({
className={item.className}
itemHeight={this.itemHeight}
defaultIndex={item.defaultIndex || this.defaultIndex}
swipeDuration={this.swipeDuration}
visibleItemCount={this.visibleItemCount}
initialOptions={this.simple ? item : item.values}
onChange={() => {