JSFiddle - React, Tailwind, and code Playground

JavaScript

(function($) {
     var settings = {
     }
 
 
     var methods = {
         init: function(options) {
             alert('init fired');
             $.proxy(methods.strobe,this);
             return this;
 
         },
         destroy: function() {
         },
         strobe: function(){
             alert('strobe fired');
         },
         show: function() {},
         hide: function() {},
         refresh: function() {}
     };
 
       $.fn.notify = function(method) {
           if (methods[method]) {
               return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
           } else if (typeof method === 'object' || !method) {
               return methods.init.apply(this, arguments);
           } else {
               $.error('Method ' + method + ' does not exist on jQuery.notify');
           }
       };
 
   })(jQuery);
 
 $().notify();