From 037276d66a187485c947fb382d367a12d007d142 Mon Sep 17 00:00:00 2001 From: sjschlapbach Date: Sun, 18 Feb 2024 22:06:38 +0100 Subject: [PATCH] fix(Dropdown): data attributes for items should be passed on to item component --- src/Dropdown.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Dropdown.tsx b/src/Dropdown.tsx index 354a54a5..7c871369 100644 --- a/src/Dropdown.tsx +++ b/src/Dropdown.tsx @@ -135,6 +135,7 @@ export function Dropdown({ root: className?.item, active: className?.activeItem, }} + data={item.data} /> ))} @@ -157,6 +158,7 @@ export function Dropdown({ root: className?.item, active: className?.activeItem, }} + data={item.data} /> ))}