plot-plan-designer
Version:
Design Editor Tools with React.js + ant.design + fabric.js
20 lines (19 loc) • 575 B
TypeScript
export default NodeDescriptor;
declare class NodeDescriptor extends React.Component<any, any, any> {
static propTypes: {
selectedItem: PropTypes.Requireable<object>;
workflow: PropTypes.Requireable<object>;
};
constructor(props: any);
constructor(props: any, context: any);
state: {
loading: boolean;
};
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
handlers: {
onTrigger: () => Promise<void>;
};
render(): JSX.Element;
}
import React from 'react';
import PropTypes from 'prop-types';