You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
593 B
28 lines
593 B
5 years ago
|
import { VantComponent } from '../common/component';
|
||
|
import { BLUE } from '../common/color';
|
||
|
VantComponent({
|
||
|
props: {
|
||
|
inactive: Boolean,
|
||
|
percentage: Number,
|
||
|
pivotText: String,
|
||
|
pivotColor: String,
|
||
|
trackColor: String,
|
||
|
showPivot: {
|
||
|
type: Boolean,
|
||
|
value: true
|
||
|
},
|
||
|
color: {
|
||
|
type: String,
|
||
|
value: BLUE
|
||
|
},
|
||
|
textColor: {
|
||
|
type: String,
|
||
|
value: '#fff'
|
||
|
},
|
||
|
strokeWidth: {
|
||
|
type: null,
|
||
|
value: 4
|
||
|
}
|
||
|
}
|
||
|
});
|