6 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["use-with"]={},e.React)}(this,(function(e,t){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function r(e){var n=t.useRef();return n.current=e,t.useRef((function(e){return n.current(e)})).current}e.default=function(e,u){return r((function(r){return t.createElement(e,n({},u,r))}))},e.useFC=r,Object.defineProperty(e,"__esModule",{value:!0})}));
|