fix(navbar): style prop (#1946)

This commit is contained in:
Junior Garcia 2023-11-10 08:23:15 -03:00 committed by GitHub
parent 8628ba04a7
commit 36775dceee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/navbar": patch
---
Fix #1941 style prop added to the base navbar element.

View File

@ -189,6 +189,7 @@ export function useNavbar(originalProps: UseNavbarProps) {
className: slots.base({class: clsx(baseStyles, props?.className)}),
style: {
"--navbar-height": height,
...otherProps?.style,
...props?.style,
},
});