UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

25 lines (24 loc) 625 B
import * as React from 'react'; export declare enum EntryType { None = 0, Portal = 1, Project = 1001 } export interface Entry { id: string; text: string; type: EntryType; children?: Entry[]; } export interface MoveNodeMenuProps { id?: string; graph: any; nodesList?: { id: string; nodeName: string; }[]; onRequestedParentChange?(id: string, parentId: string): void; onRequestedSiblingIndexChange?(id: string, siblingIndex: number): void; closeCallBack?(): void; } export declare const MoveNodeMenu: React.SFC<MoveNodeMenuProps>;