@camunda/task-testing 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,19 +4,22 @@
4
4
 
5
5
  Run and test a single building block of your BPMN diagram.
6
6
 
7
- ## Try it
8
-
9
- [Demo](https://scaling-chainsaw-lro45v3.pages.github.io/)
10
-
11
7
  ## Usage
12
8
 
13
- The library exposes a single React component:
14
-
15
9
  ```js
16
10
  import TaskTesting from '@camunda/task-testing';
11
+
12
+ function App() {
13
+ ...
14
+
15
+ <TaskTesting api={ ... }>
16
+ <TaskTesting.Tab label={ 'Foo' }>...</TaskTesting.Tab>;
17
+ <TaskTesting.Link href="https://camunda.com">Foo</TaskTesting.Link>;
18
+ </TaskTesting>
19
+ }
17
20
  ```
18
21
 
19
- The configuration is passed via the [props of the TaskTesting component](https://github.com/camunda/task-testing/blob/fa1d39874f532e669adec7d7a76aaf0fd99e0e5a/lib/components/TaskTesting/TaskTesting.js#L50).
22
+ [See demo](https://github.com/camunda/task-testing/tree/main/demo)
20
23
 
21
24
  ## Development
22
25