From 6044fc11fe606ed05f4c9deed37ee238c7f28e56 Mon Sep 17 00:00:00 2001 From: Niraj Sah Date: Wed, 11 Oct 2023 13:46:45 +0530 Subject: [PATCH] Update SideNavItems.tsx Separating comments --- packages/react/src/components/UIShell/SideNavItems.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react/src/components/UIShell/SideNavItems.tsx b/packages/react/src/components/UIShell/SideNavItems.tsx index 7db7be2e090a..6b99859d42fc 100644 --- a/packages/react/src/components/UIShell/SideNavItems.tsx +++ b/packages/react/src/components/UIShell/SideNavItems.tsx @@ -16,11 +16,13 @@ interface SideNavItemsProps { * Provide an optional class to be applied to the containing node */ className?: string; + /** * Provide a single icon as the child to `SideNavIcon` to render in the * container, and it is required */ children: React.ReactNode; + /** * Property to indicate if the side nav container is open (or not). Use to * keep local state and styling in step with the SideNav expansion state. @@ -61,10 +63,12 @@ SideNavItems.propTypes = { * container */ children: PropTypes.node.isRequired, + /** * Provide an optional class to be applied to the containing node */ className: PropTypes.string, + /** * Property to indicate if the side nav container is open (or not). Use to * keep local state and styling in step with the SideNav expansion state.