1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00
Lindy ee794b07fd feat(Steps): add inactive-color feature ()
* 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
}
});