UNPKG

@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

36 lines (35 loc) 1.22 kB
import * as React from 'react'; import { ContextMenu, ContextMenuModel } from '@syncfusion/ej2-navigations'; import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base'; /** * `ContextMenuComponent` represents the react ContextMenu Component. * ```ts * <div id='target'>Right click / Touch hold to open the ContextMenu</div> * <ContextMenuComponent target='#target' items={menuItems} /> * ``` */ export declare class ContextMenuComponent extends ContextMenu { state: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<ContextMenuModel | DefaultHtmlAttributes>; setState: any; private getDefaultAttributes; initRenderCalled: boolean; private checkInjectedModules; private statelessTemplateProps; private templateProps; private immediateRender; private isReactMock; props: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<ContextMenuModel | DefaultHtmlAttributes>; forceUpdate: (callBack?: () => any) => void; context: Object; portals: any; isReactComponent: Object; refs: { [key: string]: React.ReactInstance; }; constructor(props: any); render(): any; }