@syncfusion/ej2-react-gantt
Version:
Essential JS 2 Gantt Component for React
24 lines (23 loc) • 942 B
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { WeekWorkingTimeModel } from '@syncfusion/ej2-gantt';
/**
* `WeekWorkingTimeDirective` 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}>
* <WeekWorkingTimeCollection>
* <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>
* <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>
* </WeekWorkingTimeCollection>
* </GanttComponent>
* ```
*/
export declare class WeekWorkingTimeDirective extends ComplexBase<WeekWorkingTimeModel & {
children?: React.ReactNode;
}, WeekWorkingTimeModel> {
static moduleName: string;
}
export declare class WeekWorkingTimesDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}