JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-sm btn-primary success active">
<input type="radio" name="options" id="optionFalse" checked />false
</label>
<label class="btn btn-sm btn-primary danger">
<input type="radio" name="options" id="optionTrue" />true
</label>
</div>
JavaScript
console.log($('#optionTrue').is(':checked'));
console.log($('#optionFalse').is(':checked'));
$('#optionTrue').closest('.btn').button('toggle');
console.log($('#optionTrue').is(':checked'));
console.log($('#optionFalse').is(':checked'));