weimob-workflow
v1.3.3
Published
工作流
Downloads
12
Readme
weimob-workflow
Made with create-react-library
Install
npm install --save weimob-workflow
Usage
import {
createWorkflowStore,
paletteHOC,
initState,
addListenerNode,
CONFIG_KEY,
nodeTypeSet,
matchProperty,
NodeChildKeyFields,
} from 'weimob-workflow';
import 'weimob-workflow/dist/index.css';
const [storeInstance, workFlowConnect] = createWorkflowStore();
const workFlowStore = storeInstance;
const WorkFlowPalette = workFlowConnect(paletteHOC());
class Example extends Component {
render() {
return <WorkFlowPalette />
}
}