Skip to content

Commit

Permalink
handle checked prop
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrupinski committed Jul 17, 2023
1 parent 00768b4 commit a4530cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ const _updateDom = (
case 'className':
el.className = props[p];
break;
case 'value': {
(el as any).value = props[p];
case 'value':
case 'checked':
(el as any)[p] = props[p];
break;
}
default:
el.setAttribute(p, props[p]);
break;
Expand Down

0 comments on commit a4530cf

Please sign in to comment.