@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
35 lines (34 loc) • 1.1 kB
TypeScript
import * as React from 'react';
import { Sidebar, SidebarModel } from '@syncfusion/ej2-navigations';
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
/**
* `SidebarComponent` represents the Essential JS 2 React Sidebar Component.
* ```ts
* <SidebarComponent></SidebarComponent>
* ```
*/
export declare class SidebarComponent extends Sidebar {
state: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<SidebarModel | 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<SidebarModel | DefaultHtmlAttributes>;
forceUpdate: (callBack?: () => any) => void;
context: Object;
portals: any;
isReactComponent: Object;
refs: {
[key: string]: React.ReactInstance;
};
constructor(props: any);
render(): any;
}