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>
|
<script>
|
||||||
import { Template, Story } from '@storybook/addon-svelte-csf';
|
import { Meta, Template, Story } from '@storybook/addon-svelte-csf';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import componentDocs from './stories/docs/component.md?raw';
|
import componentDocs from './stories/docs/component.md?raw';
|
||||||
|
|
@ -7,19 +7,13 @@
|
||||||
import BodyText from './BodyText.svelte';
|
import BodyText from './BodyText.svelte';
|
||||||
|
|
||||||
import { withComponentDocs } from '$lib/docs/utils/withParams.js';
|
import { withComponentDocs } from '$lib/docs/utils/withParams.js';
|
||||||
|
|
||||||
export const meta = {
|
|
||||||
title: 'Components/BodyText',
|
|
||||||
component: BodyText,
|
|
||||||
...withComponentDocs(componentDocs),
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- <Meta
|
<Meta
|
||||||
title="Components/BodyText"
|
title="Components/BodyText"
|
||||||
component="{BodyText}"
|
component="{BodyText}"
|
||||||
{...withComponentDocs(componentDocs)}
|
{...withComponentDocs(componentDocs)}
|
||||||
/> -->
|
/>
|
||||||
|
|
||||||
<Template let:args>
|
<Template let:args>
|
||||||
<BodyText {...args} />
|
<BodyText {...args} />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue