JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox">
<input type="checkbox">
<input type="checkbox">

JavaScript

$('input[type=checkbox]').on('change', function() {
    $('input[type=checkbox]').not(this).prop('checked', false);  
});