"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./use-latest-value.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=u(e);exports.useEvent=function(e){let u=t.useLatestValue(e);return r.default.useCallback((function(){return u.current(...arguments)}),[u])};
//# sourceMappingURL=use-event.js.map
