@careevolution/mydatahelps-ui 1.3.5 → 1.3.6
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 +5 -4
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/index.d.ts +3 -2
- package/dist/cjs/types/components/presentational/index.d.ts +2 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/index.d.ts +3 -2
- package/dist/esm/types/components/presentational/index.d.ts +2 -1
- package/dist/index.d.ts +45 -38
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ export default function () {
|
|
|
34
34
|
|
|
35
35
|
## Storybook
|
|
36
36
|
|
|
37
|
-
This library uses Storybook
|
|
37
|
+
This library uses [Storybook](https://storybook.js.org/). To look at examples, clone this repository and:
|
|
38
38
|
|
|
39
39
|
```npm run storybook```
|
|
40
40
|
|
|
@@ -43,11 +43,12 @@ to view the storybook.
|
|
|
43
43
|
To run Storybook previews with the data from one of your test MyDataHelps participants:
|
|
44
44
|
1. Obtain a participant access token using the MyDataHelps [JavaScript SDK](https://developer.mydatahelps.org/sdk/participant_tokens.html)
|
|
45
45
|
2. Create a .env file in your root directory with the token details
|
|
46
|
-
|
|
46
|
+
|
|
47
|
+
```
|
|
47
48
|
.env
|
|
48
49
|
-----
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
PARTICIPANT_ACCESS_TOKEN=05e211e4df46ca7537e064bde44148a7
|
|
51
|
+
```
|
|
51
52
|
|
|
52
53
|
If you have issues getting storybook to run, particuarly around the NODE_OPTIONS being used, try upgrading Node to the latest version.
|
|
53
54
|
|