Skip to content

Commit

Permalink
feat(component): add SideNavItems.tsx component
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirajsah committed Oct 7, 2023
1 parent 17a3007 commit dd4e778
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/react/src/components/UIShell/SideNavItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ const SideNavItems: React.FC<SideNavItemsProps> = ({
return child;
}
}

// return React.cloneElement(child, {
// ...(CARBON_SIDENAV_ITEMS.includes(child.type?.displayName)
// ? {
// isSideNavExpanded,
// }
// : {}),
// });
}
});
return <ul className={className}>{childrenWithExpandedState}</ul>;
Expand Down

0 comments on commit dd4e778

Please sign in to comment.