JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box_switch">
  <input type="checkbox" class="check_tap">
  <i class="fas fa-check-circle"></i>
  <span> Выбрать</span>
</div>

CSS

.box_switch {
  font-family: 'Arial';
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ccc;
  border: 1px solid #666;
  cursor: pointer;
  border-radius: 10px;
  width: 100px;
  height: 30px;
}

JavaScript

$('.box_switch').click(function () {
      $(this).find('.check_tap').attr("checked","checked");
    });