Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 489bb57

Browse files
Update src/components/Menu/SubMenu.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 7185628 commit 489bb57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Menu/SubMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ interface SubMenuProps {
77
/** Nested submenu content */
88
children: React.ReactNode;
99
/** Primary text to display in the menu item */
10-
name?: string; // New – prefer this going forward
10+
name?: string; // This is the recommended property for the primary text in menu items. Use this instead of older alternatives.
1111
/** Secondary text for the menu item */
12-
description?: string; // New – prefer this going forward
12+
description?: string; // This is the recommended property for secondary text in menu items. Use this instead of older alternatives.
1313
/** Leading icon */
1414
icon?: React.ReactNode;
1515
/** Icon used for the back button inside the drawer */

0 commit comments

Comments
 (0)