JSFiddle - React, Tailwind, and code Playground

by guya

HTML

<ng-switch on="showText">
    <input ng-switch-when="true" type="text" value="first">
    <input ng-switch-default type="text" value="Second>
</ng-switch>