feat(validator blue section): create stories

This commit is contained in:
Hristo Nedelkov 2024-04-01 23:46:31 +03:00 committed by Emil Ivanichkov
parent 1f585e2c85
commit fdc8587446
2 changed files with 40 additions and 0 deletions

View File

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

View File

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