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:
André Jaenisch 2024-02-12 12:38:57 +01:00
parent 10cab60d63
commit 18f7c0da76
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854

View 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
}
}
};