"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
var isEnabled = false;
function enableReactComponents_(config) {
  if (isEnabled) {
    return;
  }
  isEnabled = true;
  const bindInfo = {
    value: { handler: "onChange", getValue: (e) => e.target.value, defaultValue: "" }
  };
  const bindInfoInput = Object.assign(
    { checked: { handler: "onChange", getValue: (e) => e.target.checked } },
    bindInfo
  );
  config({
    binders: {
      input: bindInfoInput,
      textarea: bindInfo,
      select: bindInfo
    }
  });
}
function enableReactive(config) {
  enableReactComponents_(config);
}
exports.enableReactive = enableReactive;
//# sourceMappingURL=react-reactive-enableReactive.cjs.map
