UNPKG

@progress/kendo-react-scheduler

Version:

React Scheduler brings the functionality of Outlook's Calendar to a single UI component. KendoReact Scheduler package

31 lines (30 loc) 1.01 kB
/** * @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 m } from "@progress/kendo-react-buttons"; import { classNames as o } from "@progress/kendo-react-common"; const s = e.forwardRef( (r, l) => { const { className: n, ...c } = r, t = e.useRef(null); return e.useImperativeHandle(l, () => ({ element: t.current, props: r })), /* @__PURE__ */ e.createElement( m, { ref: (a) => { a && (t.current = a.element); }, className: o(n), ...c }, r.children ); } ); s.displayName = "KendoReactSchedulerSchedulerNavigation"; export { s as SchedulerNavigation };