Skip to content

Commit

Permalink
pass children as prop
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshatJawne committed Sep 18, 2024
1 parent 917a1ec commit 79ed97a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/ui/src/js/src/elements/Radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export function Radio({
onBlur={onBlur}
onKeyDown={onKeyDown}
onKeyUp={onKeyUp}
>
{children}
</DHRadio>
// eslint-disable-next-line react/no-children-prop
children={children}
/>
);
}

Expand Down

0 comments on commit 79ed97a

Please sign in to comment.