perubahan warna tailwindcss berdasarkan variabel

{props.item.stock ?	//variable
	<span className="text-green-500"> In Stock </span>:
	<span className="text-red-500"> Out of Stock</span>
}
Unusual Unicorn