UNPKG

@syncfusion/ej2-react-schedule

Version:

Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support. for React

38 lines (37 loc) 1.35 kB
import { ComplexBase } from '@syncfusion/ej2-react-base'; import { ViewsModel } from '@syncfusion/ej2-schedule'; export interface ViewsDirTypecast { dateHeaderTemplate?: string | Function | any; dateRangeTemplate?: string | Function | any; dayHeaderTemplate?: string | Function | any; cellHeaderTemplate?: string | Function | any; cellTemplate?: string | Function | any; eventTemplate?: string | Function | any; monthHeaderTemplate?: string | Function | any; resourceHeaderTemplate?: string | Function | any; headerIndentTemplate?: string | Function | any; timeScale?: any; group?: any; } /** * `ViewsDirective` represent a view of the react Schedule. * It must be contained in a Schedule component(`SchduleComponent`). * ```tsx * <ScheduleComponent> * <ViewsDirective> * <ViewDirective option='day' dateFormat='dd MMM'></ViewDirective> * <ViewDirective option='week'></ViewDirective> * <ViewsDirective> * </ScheduleComponent> * ``` */ export declare class ViewDirective extends ComplexBase<ViewsModel | ViewsDirTypecast & { children?: React.ReactNode; }, ViewsModel | ViewsDirTypecast> { static moduleName: string; static complexTemplate: Object; } export declare class ViewsDirective extends ComplexBase<{}, {}> { static propertyName: string; static moduleName: string; }