@progress/kendo-react-gantt
Version:
React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package
29 lines (28 loc) • 975 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 c } from "@progress/kendo-react-common";
const s = e.forwardRef((t, n) => {
const { className: l, ...m } = t, r = e.useRef(null);
return e.useImperativeHandle(n, () => ({ element: r.current, props: t })), /* @__PURE__ */ e.createElement(
o,
{
ref: (a) => {
a && (r.current = a.element);
},
className: c("k-gantt-views", l),
...m
},
t.children
);
});
s.displayName = "KendoReactGanttViewSelector";
export {
s as ViewSelector
};