JSFiddle - React, Tailwind, and code Playground

JavaScript

$(function() {

    $(document).on('keyup keydown keypress', function(event) {
        console.log(event);
        if(event.keyCode== 52 && event.shiftKey) {
            alert('foo');
        }
    });

});