You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,16 @@ This package includes a script you can use to generate a JWT key. To use add you
15
15
16
16
follow the prompts. The generated key can then be used for your app. If you want to generate short keys you can refer to the script in keygen to get an idea of how to do this in node.
17
17
18
+
## Storybook
19
+
20
+
This project contains a [storybook](https://storybook.js.org) that shows examples of how the component can be used. To use this storybook follow these steps:
21
+
22
+
1. copy `devToken.js.rename` to `devToken.js`
23
+
2. add a valid token from apple to `devToken.js`
24
+
3. run `yarn` then `yarn storybook`
25
+
4. visit the URL storybook gives you
26
+
5. play with maps!
27
+
18
28
## MapKit Component
19
29
20
30
This is the component that will render a map. You'll need to provide either a `callbackUrl` or a `token` for this component to work.
"Either a `callbackUrl` or `token` is required for the `MapKit` component. One of these props must be set on init and can't be updated after the component is setup."
0 commit comments