@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) • 859 B
TypeScript
import { ComplexBase } from '@syncfusion/ej2-react-base';
import { ItemModel } from '@syncfusion/ej2-navigations';
export interface ItemDirTypecast {
template?: string | Function | any;
}
/**
* `ItemDirective` directive represent a item of the React Toolbar.
* It must be contained in a Toolbar component(`ToolbarComponent`).
* ```tsx
* <ToolbarComponent>
* <ItemsDirective>
* <ItemDirective text='Cut'></ItemDirective>
* <ItemDirective text='Copy'></ItemDirective>
* <ItemsDirective>
* </ToolbarComponent>
* ```
*/
export declare class ItemDirective extends ComplexBase<ItemModel | ItemDirTypecast & {
children?: React.ReactNode;
}, ItemModel | ItemDirTypecast> {
static moduleName: string;
}
export declare class ItemsDirective extends ComplexBase<{}, {}> {
static propertyName: string;
static moduleName: string;
}