Skip to content

Commit

Permalink
Update SideNavItems.tsx
Browse files Browse the repository at this point in the history
Separating comments
  • Loading branch information
Nirajsah committed Oct 11, 2023
1 parent 554aae8 commit 6044fc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react/src/components/UIShell/SideNavItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6044fc1

Please sign in to comment.