mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(number-input): label class being incorrectly mixed into the description (#5484)
* fix(number-input): label class being incorrectly mixed into the description * chore: add issue number --------- Co-authored-by: wulimaomao <tao@trlab.com> Co-authored-by: WK Wong <wingkwong.code@gmail.com>
This commit is contained in:
parent
a3245cefa0
commit
9dceb116ce
5
.changeset/rare-timers-argue.md
Normal file
5
.changeset/rare-timers-argue.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/number-input": patch
|
||||
---
|
||||
|
||||
Fixed NumberInput label class being incorrectly mixed into the description (#5489).
|
||||
@ -458,7 +458,7 @@ export function useNumberInput(originalProps: UseNumberInputProps) {
|
||||
...props,
|
||||
...descriptionProps,
|
||||
"data-slot": "description",
|
||||
className: slots.description({class: clsx(classNames?.label, props?.className)}),
|
||||
className: slots.description({class: clsx(classNames?.description, props?.className)}),
|
||||
};
|
||||
},
|
||||
[slots, classNames?.description],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user