UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

18 lines (16 loc) 430 B
import { useFeatureFlags } from "./chunk-CJFW36DZ.js"; import { Show } from "./chunk-NUXMADXV.js"; // src/components/feature-flag/feature-flag.tsx import { jsx } from "react/jsx-runtime"; function FeatureFlag(props) { const showContent = useFeatureFlags(props.flag); return /* @__PURE__ */ jsx(Show, { when: showContent, children: props.children }); } export { FeatureFlag }; //# sourceMappingURL=chunk-JYWTA3OZ.js.map