프로젝트
GitHub에서 보기
bpmn-io/react-bpmn
소개
Display BPMN 2.0 diagrams in React.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalreact-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 }
/>
);
}
Development
To get the development setup make sure to have NodeJS 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:9869/public in your Webbrowser.
Resources
License
MIT
관련 프로젝트 살펴보기
불러오는 중…