/* esm.sh - use-sidecar@1.1.3/dist/es2015/hoc */
import{__assign as o}from"../../../../../tslib@^2.0.0?target=es2022";import*as i from"../../../../../react@19.3.1/es2022/react.mjs";import{useSidecar as f}from"./hook.mjs";function l(n,r){var c=function(){return r};return function(e){var a=f(n,e.sideCar),t=a[0],u=a[1];return u&&r?c:t?i.createElement(t,o({},e)):null}}export{l as sidecar};
//# sourceMappingURL=hoc.mjs.map