storybook/docs/snippets/common/storybook-preview-head-example.html.mdx
2022-11-17 16:33:22 +01:00

17 lines
357 B
Plaintext

```html
<!-- .storybook/preview-head.html -->
<!-- Pull in static files served from your Static directory or the internet -->
<link rel=”preload” href=”your/font” />
<!-- Or you can load custom head-tag JavaScript: -->
<script src="https://use.typekit.net/xxxyyy.js"></script>
<script>
try {
Typekit.load();
} catch (e) {}
</script>
```