feat: add story for markdown component

This commit is contained in:
RadoslavDimchev 2023-10-26 08:46:27 +03:00
parent fde5758d84
commit d87fb2f450
1 changed files with 21 additions and 0 deletions

View File

@ -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<typeof Markdown>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {
children: 'Markdown',
},
}