From 018bf809fc35c4f0b8b8ffa2560a07c95d8fbf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Fri, 5 Jul 2024 17:07:14 +0200 Subject: [PATCH] docs: add story for MainMenu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows for studying the MainMenu in isolation. Signed-off-by: André Jaenisch --- stories/molecules/MainMenu.stories.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 stories/molecules/MainMenu.stories.ts diff --git a/stories/molecules/MainMenu.stories.ts b/stories/molecules/MainMenu.stories.ts new file mode 100644 index 0000000..6328fe8 --- /dev/null +++ b/stories/molecules/MainMenu.stories.ts @@ -0,0 +1,26 @@ +/* Stories for MainMenu molecule. + * Copyright (C) 2024 André Jaenisch + * SPDX-FileCopyrightText: 2024 André Jaenisch + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ + +import type { Meta, StoryObj } from '@storybook/svelte'; + +import MainMenu from '$lib/components/molecules/MainMenu.svelte'; + +const meta = { + title: 'Molecules/MainMenu', + component: MainMenu, + tags: ['autodocs'] +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +export const Plain: Story = {};