Skip to content

Commit

Permalink
onOpenChangeComplete reference override
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jan 13, 2025
1 parent 9610d3f commit aec975d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/reference/generated/alert-dialog-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"description": "Event handler called when the dialog is opened or closed."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the dialog is opened or closed."
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/generated/dialog-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"description": "Whether the dialog should prevent outside clicks and lock page scroll when open."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the dialog is opened or closed."
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/generated/menu-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"description": "Whether the menu should prevent outside clicks and lock page scroll when open."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the menu is opened or closed."
},
"disabled": {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/generated/popover-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"description": "Event handler called when the popover is opened or closed."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the popover is opened or closed."
},
"openOnHover": {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/generated/preview-card-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"description": "Event handler called when the preview card is opened or closed."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the preview card is opened or closed."
},
"delay": {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/generated/select-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"description": "Whether the select should prevent outside clicks and lock page scroll when open."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the select menu is opened or closed."
},
"disabled": {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/generated/tooltip-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"description": "Event handler called when the tooltip is opened or closed."
},
"onOpenChangeComplete": {
"type": "function",
"type": "(open) => void",
"description": "Event handler called after any animations complete when the tooltip is opened or closed."
},
"trackCursorAxis": {
Expand Down
3 changes: 3 additions & 0 deletions docs/reference/overrides/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"onClick": {
"type": "(event) => void"
},
"onOpenChangeComplete": {
"type": "(open) => void"
},
"render": {
"type": "React.ReactElement | (props, state) => React.ReactElement"
}
Expand Down

0 comments on commit aec975d

Please sign in to comment.