feat: add story for markdown component
This commit is contained in:
parent
fde5758d84
commit
d87fb2f450
|
@ -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',
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue