You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
724 B
26 lines
724 B
<script lang="ts" context="module"> |
|
import type { Meta } from '@storybook/svelte' |
|
import PRHeader from './PRHeader.svelte' |
|
import { Story, Template } from '@storybook/addon-svelte-csf' |
|
import { PRsListItemArgsVectors as vectors } from './vectors' |
|
|
|
export const meta: Meta<PRHeader> = { |
|
title: 'PRs/Header', |
|
component: PRHeader, |
|
tags: ['autodocs'], |
|
} |
|
</script> |
|
|
|
<Template let:args> |
|
<PRHeader {...args} /> |
|
</Template> |
|
|
|
<Story name="Short Details" args={vectors.Short} /> |
|
|
|
<Story name="Long Details" args={vectors.Long} /> |
|
|
|
<Story name="Long and No Spaces" args={vectors.LongNoSpaces} /> |
|
|
|
<Story name="Author Loading" args={vectors.AuthorLoading} /> |
|
|
|
<Story name="loading" args={{ loading: true }} />
|
|
|