Skip to content

Commit

Permalink
remove Form.Check
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed May 10, 2022
1 parent abb731b commit 1a01145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const FormComponentCheckboxGroup = ({
const checkClass = hasValue ? (isChecked ? 'form-check-checked' : 'form-check-unchecked') : '';
return (
// @ts-expect-error
<Form.Check
<FormCheck
{...otherInputProperties}
name={name}
layout="elementOnly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const FormComponentRadioGroup = ({
const checkClass = hasValue ? (isChecked ? 'form-check-checked' : 'form-check-unchecked') : '';
return (
// @ts-expect-error
<Form.Check
<FormCheck
{...otherInputProperties}
key={i}
layout="elementOnly"
Expand Down

0 comments on commit 1a01145

Please sign in to comment.