From b15925815ee3e0d2711106610d5def4660f4c27b Mon Sep 17 00:00:00 2001
From: pavel <14926950+prichodko@users.noreply.github.com>
Date: Thu, 17 Oct 2024 15:13:18 +0200
Subject: [PATCH] fix `` onSelect prop (#624)
* fix `` onSelect prop
* Create angry-geese-ring.md
* f
---
.changeset/angry-geese-ring.md | 5 +++++
packages/components/src/dropdown-menu/dropdown-menu.tsx | 1 -
2 files changed, 5 insertions(+), 1 deletion(-)
create mode 100644 .changeset/angry-geese-ring.md
diff --git a/.changeset/angry-geese-ring.md b/.changeset/angry-geese-ring.md
new file mode 100644
index 000000000..2aef20006
--- /dev/null
+++ b/.changeset/angry-geese-ring.md
@@ -0,0 +1,5 @@
+---
+"@status-im/components": patch
+---
+
+fix `` onSelect prop
diff --git a/packages/components/src/dropdown-menu/dropdown-menu.tsx b/packages/components/src/dropdown-menu/dropdown-menu.tsx
index 31c5d4c8a..99879e0b3 100644
--- a/packages/components/src/dropdown-menu/dropdown-menu.tsx
+++ b/packages/components/src/dropdown-menu/dropdown-menu.tsx
@@ -123,7 +123,6 @@ Search.displayName = 'Search'
type ItemProps = DropdownMenu.DropdownMenuItemProps & {
icon?: IconElement
label: string
- onSelect: () => void
selected?: boolean
danger?: boolean
external?: boolean