UNPKG

hrw-certificate-editor

Version:

Design Editor Tools with React.js + ant.design + fabric.js

28 lines (27 loc) 827 B
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { FabricObject } from '../../canvas'; interface IProps { canvasRef?: any; selectedItem?: FabricObject; workflow?: FabricObject; onChange?: any; } declare class WorkflowConfigurations extends React.Component<IProps> { static propTypes: { canvasRef: PropTypes.Requireable<any>; selectedItem: PropTypes.Requireable<object>; workflow: PropTypes.Requireable<object>; onChange: PropTypes.Requireable<(...args: any[]) => any>; }; state: { collapse: boolean; activeKey: string; }; handlers: { onCollapse: () => void; onChange: (activeKey: any) => void; }; render(): JSX.Element; } export default WorkflowConfigurations;