@progress/kendo-react-scheduler
Version:
React Scheduler brings the functionality of Outlook's Calendar to a single UI component. KendoReact Scheduler package
54 lines (53 loc) • 1.72 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { DateFormatOptions } from '@progress/kendo-react-intl';
import * as React from 'react';
/**
* Represents the properties of [TimeHeaderCell](https://www.telerik.com/kendo-react-ui/components/scheduler/api/timeheadercell) component.
*/
export interface TimeHeaderCellProps extends React.HTMLAttributes<HTMLDivElement> {
/** @hidden */
as?: React.ComponentType<TimeHeaderCellProps>;
/**
* Represents the date format.
*/
format?: string | DateFormatOptions;
/**
* Represents the current date.
*/
date: Date;
/**
* Represents the start date.
*/
start: Date;
/**
* Represents the end date.
*/
end: Date;
}
/**
* Represents the target(element and props).
*/
export interface TimeHeaderCellHandle {
/**
* The current element or `null` if there is no one.
*/
element: HTMLElement | null;
/**
* The props values of the TimeHeaderCell.
*/
props: TimeHeaderCellProps;
}
/**
* Represents the TimeHeaderCell component.
*/
export declare const TimeHeaderCell: React.ForwardRefExoticComponent<TimeHeaderCellProps & React.RefAttributes<TimeHeaderCellHandle | null>>;
export declare const timeHeaderCellDefaultProps: {
as: React.ForwardRefExoticComponent<TimeHeaderCellProps & React.RefAttributes<unknown>>;
format: string;
};