[improvement] make props less magic (#3775)
This commit is contained in:
+1
-4
@@ -7,11 +7,8 @@ export default createComponent({
|
||||
mixins: [PopupMixin],
|
||||
|
||||
props: {
|
||||
duration: Number,
|
||||
transition: String,
|
||||
duration: {
|
||||
type: Number,
|
||||
default: null
|
||||
},
|
||||
position: {
|
||||
type: String,
|
||||
default: 'center'
|
||||
|
||||
Reference in New Issue
Block a user