"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const ConditionalWrapper = ({ condition, children, ...props }) => {
  if (condition)
    return props.wrapper(children);
  if (!condition && props.falseWrapper)
    return props.falseWrapper(children);
  return children;
};
exports.ConditionalWrapper = ConditionalWrapper;
