Lindy ee794b07fd feat(Steps): add inactive-color feature (#2497)
* feat(Steps): add inactive-color new feature

* feat(Steps): add inactive-color new feature
2019-12-13 10:38:25 +08:00

28 lines
496 B
TypeScript

import { VantComponent } from '../common/component';
import { GREEN, GRAY_DARK } from '../common/color';
VantComponent({
props: {
icon: String,
steps: Array,
active: Number,
direction: {
type: String,
value: 'horizontal'
},
activeColor: {
type: String,
value: GREEN
},
inactiveColor: {
type: String,
value: GRAY_DARK
},
activeIcon: {
type: String,
value: 'checked'
},
inactiveIcon: String
}
});