JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="txt">

JavaScript

$('#txt').on('paste', function(e) {
    alert("paste");
});