fix(storybook): update storybook generation templates

This commit is contained in:
Gabe Kangas
2024-10-20 12:20:04 -07:00
parent 78a7a45ff0
commit edc920f7db
18 changed files with 555 additions and 563 deletions

View File

@@ -0,0 +1,13 @@
import { Canvas, Meta, Story, IconItem, IconGallery } from '@storybook/addon-docs';
<Meta title="{{category}}" parameters=\{{previewTabs: { canvas: { hidden: true } }, chromatic: { disableSnapshot: true }}} />
# {{capitalize title}}
<IconGallery>
{{#each images}}
<IconItem name="{{this.name}}">
<img src="{{this.src}}" />
</IconItem>
{{/each}}
</IconGallery>