UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

28 lines (27 loc) 997 B
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 };