-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EuiContextMenu] Added optional
onPanelChange
callback hook. (#6767)
* Adding optional onPanelChange callback hook. * Added changelog entry. * Update src/components/context_menu/context_menu.tsx Co-authored-by: Cee Chen <[email protected]> * Update src/components/context_menu/context_menu.tsx Co-authored-by: Bree Hall <[email protected]> * Update src/components/context_menu/context_menu.test.tsx Co-authored-by: Cee Chen <[email protected]> --------- Co-authored-by: Cee Chen <[email protected]> Co-authored-by: Bree Hall <[email protected]>
- Loading branch information
1 parent
f610ca3
commit 4a9724d
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Added `onPanelChange` callback to `EuiContextMenu` to provide consumer access to `panelId` and `direction`. |