feat(page parts): add page parts stories

This commit is contained in:
Hristo Nedelkov 2024-04-01 23:47:37 +03:00 committed by Emil Ivanichkov
parent fdc8587446
commit 2254f58429
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
import type { Meta, StoryObj } from '@storybook/react'
import Footer from './Footer'
const meta = {
title: 'Manage Validator/Footer',
component: Footer,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
} satisfies Meta<typeof Footer>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {},
}

View File

@ -0,0 +1,26 @@
import type { Meta, StoryObj } from '@storybook/react'
import Header from './Header'
const meta = {
title: 'Manage Validator/Header',
component: Header,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [
Story => (
<div style={{ width: '600px', margin: 'auto' }}>
<Story />
</div>
),
],
} satisfies Meta<typeof Header>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {},
}