react-antd-admin-panel
Version:
Easy prototyping admin panel using React and Antd
23 lines (22 loc) • 590 B
TypeScript
import DefaultItem from "./DefaultItem";
export default class TreeItem extends DefaultItem {
constructor(r?: any, merge?: boolean);
leaf(v?: boolean): this;
_show: boolean;
show(v: boolean): this;
_disabled: boolean;
disabled(v: boolean): this;
_canBeLoaded: boolean;
canBeLoaded(v: boolean): this;
_canBeEdited: boolean;
canBeEdited(v: boolean): this;
_label: any;
label(v: string): this;
_id: any;
id(v: any): this;
index(v: any): this;
key: string | number;
title: any;
isLeaf: boolean;
children: TreeItem[];
}