step.scheme.js 626 B

1234567891011121314151617181920212223242526272829303132333435
  1. export const propsScheme = {
  2. title: {
  3. type: String,
  4. intro: '标题'
  5. },
  6. description: {
  7. type: String,
  8. intro: '描述文案'
  9. },
  10. icon: {
  11. type: [String, Object],
  12. intro: 'Step 组件的自定义图标。 也支持 slot 方式写入'
  13. },
  14. status: {
  15. type: String,
  16. intro: '设置当前步骤的状态, 不设置则根据 steps 确定状态'
  17. }
  18. }
  19. export const slotsScheme = {
  20. icon: {
  21. intro: '自定义图标'
  22. },
  23. title: {
  24. intro: '自定义标题'
  25. },
  26. description: {
  27. intro: '自定义描述文案'
  28. }
  29. }
  30. export const componentScheme = {
  31. propsScheme,
  32. slotsScheme
  33. }