UNPKG

feature-toggle-jsx

Version:

Toggle component on/off based on feature configuration

2 lines (1 loc) 204 B
import{u as r}from"./useFeatures-2b5ff052.js";var t=function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(r){return!!r},e=r(),n=e[t];return n?[u(n),n]:[!1,{}]};export{t as u};