A React component to display variables in a BPMN diagram.
Simply add the component to your existing React application and pass the bpmn-js
injector
to the component:
import VariableOutline from '@bpmn-io/variable-outline';
import '@bpmn-io/variable-outline/dist/style.css';
export function MyComponent(props) {
const {
injector
} = props;
return <VariableOutline injector={injector}></VariableOutline>
}
Start a demo page with npm run start
.
Run all tests with npm run test
By participating to this project, please uphold to our Code of Conduct.
MIT
Uses bpmn-js licensed under the bpmn.io license.