JSFiddle - React, Tailwind, and code Playground

by Lloyd Atkinson

JavaScript

if (value) {
	func(1);
} else {
	func(2);
}