[improvement] props default value (#2183)
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
background-color: @white;
|
||||
transition: color .3s;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
|
||||
@@ -73,8 +73,12 @@ export default create({
|
||||
color: String,
|
||||
sticky: Boolean,
|
||||
animated: Boolean,
|
||||
lineWidth: Number,
|
||||
offsetTop: Number,
|
||||
swipeable: Boolean,
|
||||
lineWidth: {
|
||||
type: Number,
|
||||
default: null
|
||||
},
|
||||
active: {
|
||||
type: [Number, String],
|
||||
default: 0
|
||||
@@ -90,10 +94,6 @@ export default create({
|
||||
swipeThreshold: {
|
||||
type: Number,
|
||||
default: 4
|
||||
},
|
||||
offsetTop: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user