feat(deposit status): create deposit status stories

This commit is contained in:
Hristo Nedelkov 2024-04-01 23:43:55 +03:00 committed by Emil Ivanichkov
parent d7b4fcc8e7
commit 9b575b7f97
2 changed files with 42 additions and 0 deletions

View File

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