JSFiddle - React, Tailwind, and code Playground

HTML

<input id="spin" />

JavaScript

$("#spin")
	.spinner()
	.parent()
	.find(".ui-spinner-button")
    .replaceWith(function(){
        return $("<input>", {
            type:'button',
            'class':this.className,
            tabindex:-1
        });
    });