Skip to content

Commit

Permalink
fix(menu item types): make suffix prop optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammer5 committed Jul 15, 2024
1 parent 5237c66 commit c059fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface MenuItemProps {
/**
* A supporting element shown at the end of the menu item
*/
suffix: React.ReactNode
suffix?: React.ReactNode
tabIndex?: number
/**
* For using menu item as a link
Expand Down

0 comments on commit c059fde

Please sign in to comment.