Lindy 478dbd1c18 feat(Steps): desc properties add custom style (#2630)
* feat(Steps): steps add custom style

* feat(Steps): steps add custom style
2020-01-03 11:42:50 +08:00

30 lines
524 B
TypeScript

import { VantComponent } from '../common/component';
import { GREEN, GRAY_DARK } from '../common/color';
VantComponent({
classes: ['desc-class'],
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
}
});