Skip to content
Display BPMN 2.0 diagrams in React.
Branch: master
Clone or download
Latest commit b60fa07 May 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example chore(project): initial commit Mar 27, 2019
src Update index.jsx Apr 24, 2019
.gitignore chore(project): initial commit Mar 27, 2019
.npmignore chore(project): initial commit Mar 27, 2019
CHANGELOG.md chore(CHANGELOG): update to v0.1.1 May 15, 2019
LICENSE chore(project): initial commit Mar 27, 2019
README.md chore(project): initial commit Mar 27, 2019
package-lock.json 0.1.1 May 15, 2019
package.json 0.1.1 May 15, 2019
rollup.config.js chore(project): initial commit Mar 27, 2019

README.md

react-bpmn

Use bpmn-js to display BPMN 2.0 diagrams in a React application.

Usage

import ReactBpmn from 'react-bpmn';


function App(props) {

  function onShown() {
    console.log('diagram shown');
  }

  function onLoading() {
    console.log('diagram loading');
  }

  function onError(err) {
    console.log('failed to show diagram');
  }

  return (
    <ReactBpmn
      url="/public/diagram.bpmn"
      onShown={ onShown }
      onLoading={ onLoading }
      onError={ onError }
    />
  );
}

Resources

License

MIT

You can’t perform that action at this time.