UNPKG

@syncfusion/ej2-react-layouts

Version:

A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person. for React

24 lines (23 loc) 814 B
import { ComplexBase } from '@syncfusion/ej2-react-base'; import { TimelineItemModel } from '@syncfusion/ej2-layouts'; /** * `ItemDirective` represents a item of the React Timeline. * It must be contained in a Timeline component(`TimelineComponent`). * ```tsx * <TimelineComponent> * <ItemsDirective> * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } /> * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } /> * </ItemsDirective> * </TimelineComponent> * ``` */ export declare class ItemDirective extends ComplexBase<TimelineItemModel & { children?: React.ReactNode; }, TimelineItemModel> { static moduleName: string; } export declare class ItemsDirective extends ComplexBase<{}, {}> { static propertyName: string; static moduleName: string; }