JSFiddle - React, Tailwind, and code Playground
HTML
<input class="input-check" type="radio" name="foo" value="0" />
<input class="input-check" type="radio" name="foo" value="1" />
JavaScript
jQuery('.input-check').on('change', function()
{
alert(jQuery(this).val());
});