fix(autocomplete): missing popover props except content (#4496)

This commit is contained in:
աӄա 2025-01-05 18:48:30 +08:00 committed by GitHub
parent a43b156801
commit 0c45fed420
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/autocomplete": patch
---
fix missing popover props except content (#4484)

View File

@ -482,6 +482,7 @@ export function useAutocomplete<T extends object>(originalProps: UseAutocomplete
triggerType: "listbox",
...popoverProps,
classNames: {
...slotsProps.popoverProps?.classNames,
content: slots.popoverContent({
class: clsx(
classNames?.popoverContent,