plot-plan-designer
Version:
Design Editor Tools with React.js + ant.design + fabric.js
27 lines (26 loc) • 1.03 kB
TypeScript
export function getNode(nodeClazz: any): any;
export function getConfiguration(clazz: any): any;
export function getEllipsis(text: any, length: any): any;
export default class NodeConfiguration extends React.Component<any, any, any> {
static propTypes: {
canvasRef: PropTypes.Requireable<any>;
selectedItem: PropTypes.Requireable<object>;
form: PropTypes.Requireable<object>;
workflow: PropTypes.Requireable<object>;
};
constructor(props: any);
constructor(props: any, context: any);
state: {
errors: any;
};
UNSAFE_componentWillReceiveProps(nextProps: any): void;
getForm(form: any, configuration: any, key: any, formConfig: any): JSX.Element;
createForm(canvasRef: any, form: any, selectedItem: any): JSX.Element[];
handlers: {
onValidate: (errors: any) => void;
aceEditorValidator: (rule: any, value: any, callback: any) => void;
};
render(): JSX.Element[];
}
import React from 'react';
import PropTypes from 'prop-types';