index.js 493 B

12345678910111213141516171819202122
  1. import { VantComponent } from '../common/component';
  2. import { GREEN } from '../common/color';
  3. VantComponent({
  4. props: {
  5. icon: String,
  6. steps: Array,
  7. active: Number,
  8. direction: {
  9. type: String,
  10. value: 'horizontal'
  11. },
  12. activeColor: {
  13. type: String,
  14. value: GREEN
  15. },
  16. activeIcon: {
  17. type: String,
  18. value: 'checked'
  19. },
  20. inactiveIcon: String
  21. }
  22. });