nrz e2a887ace3 [improvement] Steps: 扩展自定义class (#311)
* [improvement] Steps: extend custom classes

* [improvement] Steps: fix
2018-06-22 17:00:25 +08:00

22 lines
329 B
JavaScript

Component({
externalClasses: ['steps-class', 'icon-class', 'title-class', 'desc-class'],
properties: {
type: {
type: String,
value: 'horizon'
},
hasDesc: {
type: Boolean,
value: false
},
steps: { // 必须
type: Array,
value: []
},
className: String
}
});