JSFiddle - React, Tailwind, and code Playground

HTML

Right click on the bottom right screen to try!

JavaScript

document.addEventListener("contextmenu", function(e) {
    e.preventDefault();
});