mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[improvement] make props less magic (#3775)
This commit is contained in:
@@ -5,8 +5,11 @@ const [createComponent, bem] = createNamespace('steps');
|
||||
|
||||
export default createComponent({
|
||||
props: {
|
||||
active: Number,
|
||||
inactiveIcon: String,
|
||||
active: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
direction: {
|
||||
type: String,
|
||||
default: 'horizontal'
|
||||
|
Reference in New Issue
Block a user