@bpmn-io/variable-outline
v1.0.3
Published
A React component to display variables in a BPMN diagram.
Downloads
3,084
Maintainers
Keywords
Readme
@bpmn-io/variable-outline
A React component to display variables in a BPMN diagram.
Usage
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>
}
Development
Start a demo page with npm run start
.
Run all tests with npm run test
Code of Conduct
By participating to this project, please uphold to our Code of Conduct.
License
MIT
Uses bpmn-js licensed under the bpmn.io license.