@adyen/adyen-platform-experience-web
Version:

28 lines (27 loc) • 997 B
JavaScript
import { jsx as o } from "../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import { memo as i, forwardRef as d } from "../../../external/.pnpm/preact@10.28.2/node_modules/preact/compat/dist/compat.module.js";
import m from "./hooks/useCalendar.js";
/* empty css */
import f from "./components/CalendarControls/CalendarControls.js";
import s from "./components/CalendarGrid/CalendarGrid.js";
const c = d((r, t) => {
const { cursorElementRef: a, cursorRootProps: l, grid: e } = m(r, t), n = e.config();
return /* @__PURE__ */ o("div", { role: "none", children: [
/* @__PURE__ */ o(f, { config: n, grid: e, renderer: r.renderControl }),
/* @__PURE__ */ o(
s,
{
ref: a,
config: n,
cursorRootProps: l,
getGridLabel: r.getGridLabel,
grid: e,
onlyCellsWithin: r.onlyCellsWithin,
prepare: r.prepare
}
)
] });
}), R = i(c);
export {
R as default
};