From 73701d271e7f99e61ff6cdafae9ddeae6c61c24d Mon Sep 17 00:00:00 2001 From: logonoff Date: Thu, 4 Jun 2026 14:51:57 -0400 Subject: [PATCH] feat(NavExpandable): allow option to pass an icon --- .../src/components/Nav/NavExpandable.tsx | 10 ++++---- .../Nav/__tests__/NavExpandable.test.tsx | 17 ++++++++++++++ .../src/components/Nav/examples/Nav.md | 3 ++- .../src/components/Nav/examples/NavIcons.tsx | 23 ++++++++++++++++++- 4 files changed, 46 insertions(+), 7 deletions(-) diff --git a/packages/react-core/src/components/Nav/NavExpandable.tsx b/packages/react-core/src/components/Nav/NavExpandable.tsx index da1f1e9d5ee..bc40a16a969 100644 --- a/packages/react-core/src/components/Nav/NavExpandable.tsx +++ b/packages/react-core/src/components/Nav/NavExpandable.tsx @@ -30,6 +30,8 @@ export interface NavExpandableProps onExpand?: (event: React.MouseEvent, val: boolean) => void; /** Additional props added to the NavExpandable