feat(Progress): add some less vars (#4790)

This commit is contained in:
neverland
2019-10-20 13:15:25 +08:00
committed by GitHub
parent 95598e8842
commit 02c027b81c
5 changed files with 15 additions and 18 deletions
+2 -9
View File
@@ -1,12 +1,13 @@
import { createNamespace, isDef, addUnit } from '../utils';
import { BLUE, WHITE } from '../utils/constant';
const [createComponent, bem] = createNamespace('progress');
export default createComponent({
props: {
color: String,
inactive: Boolean,
pivotText: String,
textColor: String,
pivotColor: String,
trackColor: String,
strokeWidth: [String, Number],
@@ -18,14 +19,6 @@ export default createComponent({
showPivot: {
type: Boolean,
default: true
},
color: {
type: String,
default: BLUE
},
textColor: {
type: String,
default: WHITE
}
},