import { jsx } from "react/jsx-runtime";
import { Component } from "@contember/react-binding";
import { useFileHandler, getFileHandler } from "../../fileHandler/useFileHandler.js";
import { useFileSelection } from "../../internalComponents/selection/useResolvedFileSelection.js";
import { BareFileRepeater } from "../../internalComponents/BareFileRepeater.js";
const FileRepeater = Component(
  (props) => {
    const fileHandler = useFileHandler(props, "FileRepeater");
    const fileSelection = useFileSelection(props);
    return /* @__PURE__ */ jsx(BareFileRepeater, { ...props, fileHandler, fileSelection });
  },
  (props, environment) => /* @__PURE__ */ jsx(BareFileRepeater, { ...props, fileHandler: getFileHandler(props, environment, "FileRepeater") }),
  "FileRepeater"
);
export {
  FileRepeater
};
//# sourceMappingURL=FileRepeater.js.map
