Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63d07c5

Browse files
committed
fix: checkbox group type
1 parent c651185 commit 63d07c5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changeset/fix-tags-input-overflow.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55

66
- **TagsInput**: Fix overflow issue where very long tags would overflow the
77
container instead of truncating with ellipsis.
8+
9+
- **CheckboxGroup**: Fix type issue where `CheckboxGroupProps` could not be
10+
passed to the `CheckboxGroup` component.

packages/react/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const CheckboxGroup = chakra(
158158
},
159159
},
160160
{ forwardAsChild: true },
161-
)
161+
) as React.FC<CheckboxGroupProps>
162162

163163
////////////////////////////////////////////////////////////////////////////////////
164164

0 commit comments

Comments
 (0)