nimbus-gui/src/pages/ValidatorOnboarding/Advisories/Advisories.stories.ts

25 lines
576 B
TypeScript
Raw Normal View History

2023-08-24 09:35:33 +00:00
import type { Meta, StoryObj } from '@storybook/react'
import { withRouter } from 'storybook-addon-react-router-v6'
2023-08-24 09:35:33 +00:00
2023-08-31 14:46:02 +00:00
import Advisories from './Advisories'
2023-08-24 09:35:33 +00:00
const meta = {
2023-08-31 14:46:02 +00:00
title: 'ValidatorOnboarding/Advisories',
component: Advisories,
2023-08-24 09:35:33 +00:00
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [withRouter],
2023-08-31 14:46:02 +00:00
} satisfies Meta<typeof Advisories>
2023-08-24 09:35:33 +00:00
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
2023-10-06 11:11:19 +00:00
args: {
advisoriesIcons: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],
subStepAdvisories: 0,
},
2023-08-24 09:35:33 +00:00
}