From 18f7c0da76b3c8e6851fe130758e399b3a2c3732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Mon, 12 Feb 2024 12:38:57 +0100 Subject: [PATCH] docs: write story for BlockOrReport.svelte MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This component does not take any arguments at the moment. Signed-off-by: André Jaenisch --- stories/atoms/BlockOrReport.stories.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 stories/atoms/BlockOrReport.stories.ts diff --git a/stories/atoms/BlockOrReport.stories.ts b/stories/atoms/BlockOrReport.stories.ts new file mode 100644 index 0000000..8e5b212 --- /dev/null +++ b/stories/atoms/BlockOrReport.stories.ts @@ -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; + +export default meta; +type Story = StoryObj; + +export const Plain: Story = { + parameters: { + controls: { + hideNoControlsWarning: true + } + } +};