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

28 lines (27 loc) 1.07 kB
import { ComplexBase } from '@syncfusion/ej2-react-base'; import { ToolbarItemModel } from '@syncfusion/ej2-schedule'; export interface ToolbarItemDirTypecast { template?: string | Function | any; } /** * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule. * It must be contained in a Schedule component(`SchduleComponent`). * ```tsx * <ScheduleComponent> * <ToolbarItemsDirective> * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective> * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective> * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective> * <ToolbarItemsDirective> * </ScheduleComponent> * ``` */ export declare class ToolbarItemDirective extends ComplexBase<ToolbarItemModel | ToolbarItemDirTypecast & { children?: React.ReactNode; }, ToolbarItemModel | ToolbarItemDirTypecast> { static moduleName: string; } export declare class ToolbarItemsDirective extends ComplexBase<{}, {}> { static propertyName: string; static moduleName: string; }