# react-bpmn **Repository Path**: shifeipython/react-bpmn ## Basic Information - **Project Name**: react-bpmn - **Description**: No description available - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-07 - **Last Updated**: 2024-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-bpmn [![CI](https://github.com/bpmn-io/react-bpmn/workflows/CI/badge.svg)](https://github.com/bpmn-io/react-bpmn/actions?query=workflow%3ACI) Use [bpmn-js](https://github.com/bpmn-io/bpmn-js) to display BPMN 2.0 diagrams in a [React](https://reactjs.org/) application. ## Usage ```javascript 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 ( ); } ``` ## Development To get the development setup make sure to have [NodeJS](https://nodejs.org/en/download/) installed. As soon as you are set up, clone the project and execute ``` npm install npm run all ``` ## Example To run the example, execute `npm run start` and open http://localhost:5000/public in your Webbrowser. ## Resources * [Issues](https://github.com/bpmn-io/react-bpmn/issues) * [Example](./example) ## License MIT