continue using meta
This commit is contained in:
parent
042677856f
commit
18fc7ba4d2
1 changed files with 3 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import { Template, Story } from '@storybook/addon-svelte-csf';
|
||||
import { Meta, Template, Story } from '@storybook/addon-svelte-csf';
|
||||
|
||||
// @ts-ignore
|
||||
import componentDocs from './stories/docs/component.md?raw';
|
||||
|
|
@ -7,19 +7,13 @@
|
|||
import BodyText from './BodyText.svelte';
|
||||
|
||||
import { withComponentDocs } from '$lib/docs/utils/withParams.js';
|
||||
|
||||
export const meta = {
|
||||
title: 'Components/BodyText',
|
||||
component: BodyText,
|
||||
...withComponentDocs(componentDocs),
|
||||
};
|
||||
</script>
|
||||
|
||||
<!-- <Meta
|
||||
<Meta
|
||||
title="Components/BodyText"
|
||||
component="{BodyText}"
|
||||
{...withComponentDocs(componentDocs)}
|
||||
/> -->
|
||||
/>
|
||||
|
||||
<Template let:args>
|
||||
<BodyText {...args} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue