Blame view

src/ui/vant-weapp/steps/index.js 493 Bytes
simon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
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
simon committed
15 16 17 18 19 20
        },
        activeIcon: {
            type: String,
            value: 'checked'
        },
        inactiveIcon: String
simon committed
21 22
    }
});