UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

25 lines (24 loc) 629 B
import * as React from 'react'; export declare const TITLE_PLACEHOLDER: string; export interface PropsNodeButton { nodeKind: number; nodeGuid: string; onClick: any; showButton: boolean; } export interface NodeMenuProps { title?: string; content?: JSX.Element; button?: JSX.Element; } export interface NodeMenuState { visible: boolean; } export declare class NodeMenu extends React.Component<NodeMenuProps, NodeMenuState> { state: { visible: boolean; }; hide: () => void; handleVisibleChange: (visible: boolean) => void; render(): JSX.Element; }