mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
fix(transfer): props declare
This commit is contained in:
parent
4c486639a7
commit
8fa21fe818
@ -24,15 +24,15 @@ export default {
|
||||
},
|
||||
props: {
|
||||
theme: {
|
||||
validator: String,
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
source: {
|
||||
validator: Boolean,
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
onChange: {
|
||||
validator: Function,
|
||||
type: Function,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
@ -22,7 +22,7 @@ export default {
|
||||
},
|
||||
props: {
|
||||
source: {
|
||||
validator: Boolean,
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
}
|
||||
|
@ -39,15 +39,15 @@ export default {
|
||||
},
|
||||
props: {
|
||||
label: {
|
||||
validator: String,
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
value: {
|
||||
validator: [String, Number],
|
||||
type: [String, Number],
|
||||
required: true
|
||||
},
|
||||
disabled: {
|
||||
validator: Boolean,
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
|
@ -39,15 +39,15 @@ export default {
|
||||
},
|
||||
props: {
|
||||
label: {
|
||||
validator: String,
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
value: {
|
||||
validator: [String, Number],
|
||||
type: [String, Number],
|
||||
required: true
|
||||
},
|
||||
disabled: {
|
||||
validator: Boolean,
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user