[improvement] props default value (#2183)

This commit is contained in:
neverland
2018-11-29 22:20:42 +08:00
committed by GitHub
parent ad5121286b
commit 916dbd9927
31 changed files with 83 additions and 167 deletions
+1 -4
View File
@@ -41,6 +41,7 @@ export default create({
height: Number,
autoplay: Number,
vertical: Boolean,
initialSwipe: Number,
indicatorColor: String,
loop: {
type: Boolean,
@@ -50,10 +51,6 @@ export default create({
type: Boolean,
default: true
},
initialSwipe: {
type: Number,
default: 0
},
showIndicators: {
type: Boolean,
default: true