Skip to content

Commit

Permalink
silence type error
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Nov 30, 2024
1 parent 2d8b590 commit 1c22f03
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export const RadioButtonGroup = React.forwardRef<HTMLDivElement, RadioButtonGrou

// eslint-disable-next-line @eslint-react/no-clone-element
return React.cloneElement(child, {
// @ts-expect-error https://github.com/DefinitelyTyped/DefinitelyTyped/issues/40888
ref: isChecked ? checkedRef : undefined,
checked: isChecked,
onChange: handleChange,
Expand Down

0 comments on commit 1c22f03

Please sign in to comment.