JSFiddle - React, Tailwind, and code Playground

HTML

<input type="radio" name="test">
    1<input type="radio" name="test">2
   <input type="button" id="btn" />

JavaScript

$("#btn").click(function(){

$("input:checked").removeAttr("checked");

});