Skip to content

Commit

Permalink
fix <DropdownMenu.Item /> onSelect prop (#624)
Browse files Browse the repository at this point in the history
* fix `<DropdownMenu.Item />` onSelect prop

* Create angry-geese-ring.md

* f
  • Loading branch information
prichodko authored Oct 17, 2024
1 parent 51d6189 commit b159258
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/angry-geese-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@status-im/components": patch
---

fix `<DropdownMenu.Item />` onSelect prop
1 change: 0 additions & 1 deletion packages/components/src/dropdown-menu/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Search.displayName = 'Search'
type ItemProps = DropdownMenu.DropdownMenuItemProps & {
icon?: IconElement
label: string
onSelect: () => void
selected?: boolean
danger?: boolean
external?: boolean
Expand Down

0 comments on commit b159258

Please sign in to comment.