@progress/kendo-react-scheduler
Version:
React Scheduler brings the functionality of Outlook's Calendar to a single UI component. KendoReact Scheduler package
30 lines (29 loc) • 968 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as e from "react";
import { ToolbarItem as o } from "@progress/kendo-react-buttons";
import { classNames as l } from "@progress/kendo-react-common";
const f = e.forwardRef(
(r, s) => {
const { className: a, ...m } = r, t = e.useRef(null);
return e.useImperativeHandle(s, () => ({ element: t.current, props: r })), /* @__PURE__ */ e.createElement(
o,
{
ref: (n) => {
n && (t.current = n.element);
},
className: l("k-scheduler-navigation", a),
...m
},
r.children
);
}
);
export {
f as BusinessHours
};