JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" class="date"/>

JavaScript

$(document).ready(function(){
    $('input').datepicker({beforeShowDay: function(date){ return [date.getDay() != 1, '']; }});
});