docs: write story for BlockOrReport.svelte
This component does not take any arguments at the moment. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
10cab60d63
commit
18f7c0da76
1 changed files with 20 additions and 0 deletions
20
stories/atoms/BlockOrReport.stories.ts
Normal file
20
stories/atoms/BlockOrReport.stories.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
import type { Meta, StoryObj } from '@storybook/svelte';
|
||||
|
||||
import BlockOrReport from '$lib/components/atoms/BlockOrReport.svelte';
|
||||
|
||||
const meta = {
|
||||
title: 'Atoms/BlockOrReport',
|
||||
component: BlockOrReport,
|
||||
tags: ['autodocs']
|
||||
} satisfies Meta<BlockOrReport>;
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Plain: Story = {
|
||||
parameters: {
|
||||
controls: {
|
||||
hideNoControlsWarning: true
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue