import { t as defineConfigurableModule } from "./configurable-module-Bur4JaI3.js";
import { jsx } from "react/jsx-runtime";
import { GalleryRenderer } from "@haklex/rich-ext-gallery/renderer";
//#region src/modules/gallery/module-config.ts
var { createModule: createGalleryModule, useConfig: useGalleryConfig } = defineConfigurableModule({
	name: "gallery",
	defaultConfig: {}
});
//#endregion
//#region src/modules/gallery/renderer.tsx
var ComposedGalleryRenderer = (props) => {
	const { onImageClick } = useGalleryConfig();
	return /* @__PURE__ */ jsx(GalleryRenderer, {
		...props,
		onImageClick
	});
};
//#endregion
export { createGalleryModule as n, ComposedGalleryRenderer as t };
