JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" name="test">
1<input type="radio" name="test">2
<input type="button" value="hello" id="btn" />
JavaScript
$("#btn").click(function(){
$(':radio').each(function () {
$(this).removeAttr('checked');
$('input[type="radio"]').prop('checked', false);
})
});