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