Skip to content

Commit

Permalink
chore: remove defaultChecked prop from checkbox (#10982)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzaib-deriv authored and maryia-deriv committed Oct 26, 2023
1 parent fa025dd commit 1f282a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/components/src/components/checkbox/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const Checkbox = React.forwardRef<HTMLInputElement, TCheckBoxProps>(
ref={ref}
disabled={disabled}
onChange={onInputChange}
defaultChecked={checked}
checked={checked}
{...otherProps}
/>
Expand Down

0 comments on commit 1f282a4

Please sign in to comment.