index.js
579 Bytes
var o = require("../common/component"), e = require("../common/color");
(0, o.VantComponent)({
props: {
inactive: Boolean,
percentage: Number,
pivotText: String,
pivotColor: String,
trackColor: String,
showPivot: {
type: Boolean,
value: !0
},
color: {
type: String,
value: e.BLUE
},
textColor: {
type: String,
value: "#fff"
},
strokeWidth: {
type: null,
value: 4
}
}
});