ab-test-jsx
Version:
React (JS) AB testing consumption
2 lines (1 loc) • 348 B
JavaScript
import{memo as r,createElement as t}from"react";import{A as a}from"./ABTestsProvider-b9f0162d.js";import{nameOf as o}from"./react-utils.js";var e=function(e,i,s){var n=r((function(r){var o="function"==typeof i?i(r):i;return t(a,{abTests:o,defaultVariant:s},t(e,r))}));return n.displayName="withABTestsProvider(".concat(o(e),")"),n};export{e as w};