Skip to content

Commit

Permalink
perf(QExpansionItem): mark "duration" as passthrough prop
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed May 3, 2024
1 parent 801f2ee commit da11702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/expansion-item/QExpansionItem.js
Expand Up @@ -42,7 +42,7 @@ export default createComponent({
expandIcon: String,
expandedIcon: String,
expandIconClass: [ Array, String, Object ],
duration: Number,
duration: {},

headerInsetLevel: Number,
contentInsetLevel: Number,
Expand Down
1 change: 1 addition & 0 deletions ui/src/components/expansion-item/QExpansionItem.json
Expand Up @@ -75,6 +75,7 @@
"type": "Number",
"desc": "Animation duration (in milliseconds)",
"default": "300",
"passthrough": "child",
"category": "behavior"
},

Expand Down

0 comments on commit da11702

Please sign in to comment.