hrw-certificate-editor
Version:
Design Editor Tools with React.js + ant.design + fabric.js
32 lines (31 loc) • 1.13 kB
TypeScript
import * as React from 'react';
import * as PropTypes from 'prop-types';
export declare const getNode: (nodeClazz: any) => any;
export declare const getConfiguration: (clazz: any) => any;
export declare const getEllipsis: (text: any, length: any) => any;
interface IProps {
canvasRef?: any;
selectedItem?: any;
form?: any;
workflow?: any;
}
export default class NodeConfiguration extends React.Component<IProps> {
static propTypes: {
canvasRef: PropTypes.Requireable<any>;
selectedItem: PropTypes.Requireable<object>;
form: PropTypes.Requireable<object>;
workflow: PropTypes.Requireable<object>;
};
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[];
}
export {};