mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(navbar): style prop (#1946)
This commit is contained in:
parent
8628ba04a7
commit
36775dceee
5
.changeset/light-snakes-develop.md
Normal file
5
.changeset/light-snakes-develop.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/navbar": patch
|
||||
---
|
||||
|
||||
Fix #1941 style prop added to the base navbar element.
|
||||
@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user