UNPKG

@progress/kendo-react-gantt

Version:

React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package

9 lines (8 loc) 1.17 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),u=require("@progress/kendo-react-buttons"),i=require("@progress/kendo-react-common");function m(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=m(s),l=c.forwardRef((e,n)=>{const{className:t,...r}=e,o=c.useRef(null);return c.useImperativeHandle(n,()=>({element:o.current,props:e})),c.createElement(u.ToolbarItem,{ref:a=>{a&&(o.current=a.element)},className:i.classNames("k-gantt-views",t),...r},e.children)});l.displayName="KendoReactGanttViewSelector";exports.ViewSelector=l;