JSFiddle - React, Tailwind, and code Playground

by yiiBoy

HTML

<label className="btn btn-outline-secondary">
  <input type="radio" name="filter" autoComplete="off" value="active" onChange={(e) => onChangeFilter(e.target.value)} /> Active
</label>