Skip to content

Commit

Permalink
fix: listbox-section props
Browse files Browse the repository at this point in the history
  • Loading branch information
EReguero committed Dec 15, 2024
1 parent 8d53e8b commit 208e1ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-boxes-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/listbox": patch
---

fix listbox section items prop in html element (#4277)
3 changes: 3 additions & 0 deletions packages/components/listbox/src/listbox-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ const ListboxSection = forwardRef<"li", ListboxSectionProps>(
// the title props is already inside the rendered prop
// eslint-disable-next-line @typescript-eslint/no-unused-vars
title,
// removed items from props to avoid show in html element
// eslint-disable-next-line @typescript-eslint/no-unused-vars
items,
...otherProps
},
_,
Expand Down

0 comments on commit 208e1ee

Please sign in to comment.