JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://andersmalmgren.github.io/Knockout.BindingConventions/src/Knockout.BindingConventions.js"></script>
<span data-name="hasWarning">This is a warning</span>

JavaScript

ViewModel = function() {
    this.hasWarning = true;
}
    
ko.applyBindings(new ViewModel());