From d87fb2f450658d6917739232c5d4ae66d12d7137 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 26 Oct 2023 08:46:27 +0300 Subject: [PATCH] feat: add story for markdown component --- .../General/Markdown/Markdown.stories.tsx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/components/General/Markdown/Markdown.stories.tsx diff --git a/src/components/General/Markdown/Markdown.stories.tsx b/src/components/General/Markdown/Markdown.stories.tsx new file mode 100644 index 00000000..2d3ccb2b --- /dev/null +++ b/src/components/General/Markdown/Markdown.stories.tsx @@ -0,0 +1,21 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import Markdown from './Markdown' + +const meta = { + title: 'General/Markdown', + component: Markdown, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: { + children: 'Markdown', + }, +}