JSFiddle - React, Tailwind, and code Playground

by Sahin Deniz

JavaScript

class a {
  constructor() {
    this._active = {
      input: undefined
    }
  }
  set active(tab) {
    this._active = tab;
  }
}