ab-test-jsx
Version:
React (JS) AB testing consumption
2 lines (1 loc) • 519 B
JavaScript
import{memo as t,useContext as r,createElement as a}from"react";import{A as n}from"./ABTestsContext-bd3a4665.js";import{nameOf as o}from"./react-utils.js";function e(){return(e=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}var s=function(s){var i=t((function(t){var o=r(n);return a(s,e({},t,{abTests:o}))}));return i.displayName="withABTests(".concat(o(s),")"),i};export{s as w};