@syncfusion/ej2-react-gantt
Version:
Essential JS 2 Gantt Component for React
24 lines (23 loc) • 901 B
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { DayWorkingTimeModel } from '@syncfusion/ej2-gantt';
/**
* `DayWorkingTimeDirective` represent a working time ranges in a day.
* It must be contained in a Gantt component(`GanttComponent`).
* ```tsx
* <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>
* <DayWorkingTimeCollection>
* <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>
* <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>
* </DayWorkingTimeCollection>
* </GanttComponent>
* ```
*/
export declare class DayWorkingTimeDirective extends ComplexBase<DayWorkingTimeModel & {
children?: React.ReactNode;
}, DayWorkingTimeModel> {
static moduleName: string;
}
export declare class DayWorkingTimeCollectionDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}