Skip to content

Commit

Permalink
fix(Dropdown): data attributes for items should be passed on to item …
Browse files Browse the repository at this point in the history
…component
  • Loading branch information
sjschlapbach committed Feb 18, 2024
1 parent 82d6bae commit 037276d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export function Dropdown({
root: className?.item,
active: className?.activeItem,
}}
data={item.data}
/>
))}
</div>
Expand All @@ -157,6 +158,7 @@ export function Dropdown({
root: className?.item,
active: className?.activeItem,
}}
data={item.data}
/>
))}
</RadixDropdown.Group>
Expand Down

0 comments on commit 037276d

Please sign in to comment.