import { createElement } from "react";
import { Component } from "@contember/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__ */ createElement(BareFileRepeater, {
    ...props,
    fileHandler,
    fileSelection
  });
}, (props, environment) => /* @__PURE__ */ createElement(BareFileRepeater, {
  ...props,
  fileHandler: getFileHandler(props, environment, "FileRepeater")
}), "FileRepeater");
export { FileRepeater };
//# sourceMappingURL=FileRepeater.js.map
