[components,maps][l]: implements Leaflet map component -- #963
This commit is contained in:
19
packages/components/.storybook/preview-head.html
Normal file
19
packages/components/.storybook/preview-head.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!--
|
||||
This is necessary for maps to work.
|
||||
If we decide to distribute this component,
|
||||
perhaps we could use a provider for this,
|
||||
e.g.
|
||||
.../_app.tsx
|
||||
<PortalJSProvider>
|
||||
<Component />
|
||||
</PortalJSProvider>
|
||||
-->
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
|
||||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
|
||||
crossorigin=""/>
|
||||
|
||||
<!-- Make sure you put this AFTER Leaflet's CSS -->
|
||||
<!-- <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
|
||||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
|
||||
crossorigin=""></script> -->
|
||||
Reference in New Issue
Block a user