Skip to content

Commit

Permalink
Fix primefaces#6789: PanelMenu typedef for onOpen/onClose
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 8, 2024
1 parent 8625e49 commit b7d7bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/panelmenu/panelmenu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ export interface PanelMenuProps extends Omit<React.DetailedHTMLProps<React.HTMLA
* Callback to invoke when a panel gets expanded.
* @param {PanelMenuHeaderItemClickEvent} event - custom event.
*/
onShow?(event: PanelMenuHeaderItemClickEvent): void;
onOpen?(event: PanelMenuHeaderItemClickEvent): void;
/**
* Callback to invoke when a panel gets collapsed.
* @param {PanelMenuHeaderItemClickEvent} event - custom event.
*/
onHide?(event: PanelMenuHeaderItemClickEvent): void;
onClose?(event: PanelMenuHeaderItemClickEvent): void;
/**
* Callback to when the expandedKeys changes.
* @param {*} value - New value.
Expand Down

0 comments on commit b7d7bf0

Please sign in to comment.