UNPKG

feature-toggle-jsx

Version:

Toggle component on/off based on feature configuration

2 lines (1 loc) 332 B
import{memo as r,createElement as t}from"react";import{F as e}from"./FeaturesProvider-43af67c9.js";import{nameOf as a}from"./react-utils.js";var o=function(o,i){var f=r((function(r){var a="function"==typeof i?i(r):i;return t(e,{features:a},t(o,r))}));return f.displayName="withFeaturesProvider(".concat(a(o),")"),f};export{o as w};