mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-01 11:30:46 +00:00
feat: add story for markdown component
This commit is contained in:
parent
fde5758d84
commit
d87fb2f450
21
src/components/General/Markdown/Markdown.stories.tsx
Normal file
21
src/components/General/Markdown/Markdown.stories.tsx
Normal 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',
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user