Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-checkbox-group-onchange.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@justeattakeaway/pie-checkbox-group": patch
---

[Fixed] - onChange event value property type error
3 changes: 2 additions & 1 deletion packages/components/pie-checkbox-group/src/defs-react.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type React from 'react';

export type ReactBaseType = React.FieldsetHTMLAttributes<HTMLFieldSetElement>
// Omit event types to avoid conflicting with PieCheckboxGroup's type definition
export type ReactBaseType = Omit<React.FieldsetsHTMLAttributes<HTMLFieldSetElement>, 'onChange'>
Loading