"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const reactBinding = require("@contember/react-binding");
const useFileHandler = require("../../fileHandler/useFileHandler.cjs");
const useResolvedFileSelection = require("../../internalComponents/selection/useResolvedFileSelection.cjs");
const BareFileRepeater = require("../../internalComponents/BareFileRepeater.cjs");
const FileRepeater = reactBinding.Component(
  (props) => {
    const fileHandler = useFileHandler.useFileHandler(props, "FileRepeater");
    const fileSelection = useResolvedFileSelection.useFileSelection(props);
    return /* @__PURE__ */ jsxRuntime.jsx(BareFileRepeater.BareFileRepeater, { ...props, fileHandler, fileSelection });
  },
  (props, environment) => /* @__PURE__ */ jsxRuntime.jsx(BareFileRepeater.BareFileRepeater, { ...props, fileHandler: useFileHandler.getFileHandler(props, environment, "FileRepeater") }),
  "FileRepeater"
);
exports.FileRepeater = FileRepeater;
//# sourceMappingURL=FileRepeater.cjs.map
