UNPKG

@progress/kendo-react-scheduler

Version:

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

41 lines (40 loc) 1.18 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * An interface for the resources of the Scheduler. */ export interface SchedulerResource { /** * The resource name. If not set, the value of the `field` option is used. */ name?: string; /** * The field name of the event that contains the resource value. */ field: string; /** * The resource data. */ data: any[]; /** * The field name from the data that contains the resource value. */ valueField: string; /** * The field name from the data that contains the resource text. */ textField: string; /** * The field name from the data that contains the resource color. */ colorField?: string; /** * Specifies if the events have multiple resource values. */ multiple?: boolean; }