@syncfusion/ej2-react-navigations
Version:
A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another for React
27 lines (26 loc) • 988 B
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { CarouselItemModel } from '@syncfusion/ej2-navigations';
export interface CarouselItemDirTypecast {
template?: string | Function | any;
}
/**
* `CarouselItemDirective` represent a item of the React Carousel.
* It must be contained in a Carousel component(`CarouselComponent`).
* ```tsx
* <CarouselComponent>
* <CarouselItemsDirective>
* <CarouselItemDirective template='#item1'></CarouselItemDirective>
* <CarouselItemDirective template='#item2'></CarouselItemDirective>
* </CarouselItemsDirective>
* </CarouselComponent>
* ```
*/
export declare class CarouselItemDirective extends ComplexBase<CarouselItemModel | CarouselItemDirTypecast & {
children?: React.ReactNode;
}, CarouselItemModel | CarouselItemDirTypecast> {
static moduleName: string;
}
export declare class CarouselItemsDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}