mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(checkbox): incorrect onChange typing in Checkbox Group (#2595)
* fix(checkbox): incorrect onChange typing in Checkbox Group * fix(checkbox): remove onChange from Props instead
This commit is contained in:
parent
c188e4d628
commit
ef6ea6c1ff
5
.changeset/heavy-berries-sniff.md
Normal file
5
.changeset/heavy-berries-sniff.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/checkbox": patch
|
||||
---
|
||||
|
||||
Fixed incorrect onChange typing in Checkbox Group
|
||||
@ -46,7 +46,7 @@ interface Props extends HTMLNextUIProps<"div"> {
|
||||
onValueChange?: AriaCheckboxGroupProps["onChange"];
|
||||
}
|
||||
|
||||
export type UseCheckboxGroupProps = Props &
|
||||
export type UseCheckboxGroupProps = Omit<Props, "onChange"> &
|
||||
AriaCheckboxGroupProps &
|
||||
Partial<
|
||||
Pick<
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user