import React__default from 'react';

const Show = ({
  condition,
  children,
  fallback
}) => {
  if (typeof condition === "function") {
    condition = condition();
  }
  return condition ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, children) : fallback != null ? fallback : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null);
};

export { Show };
