Repository URL to install this package:
|
Version:
2.6.18 ▾
|
import { ReactNode } from 'react';
import { ISidebarItem, SidebarItemProps, SidebarItemRenderProp } from './typings';
export declare class SidebarItemState implements ISidebarItem {
store: import("mobx/lib/types/observablemap").ObservableMap<any, any>;
identifier: string;
isVisible: boolean;
contents: ReactNode;
static init(): SidebarItemState;
render(props: SidebarItemProps | SidebarItemState): any;
/**
* these setters are @chainable
*/
setIdentifier(identifier: string): this;
setContents(contents: any): this;
setRender(renderProp: SidebarItemRenderProp): this;
setIsVisible(isVisible: boolean): this;
handleHide(): void;
handleShow(): void;
handleToggle(): void;
}