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

25 lines
576 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react'
import { withRouter } from 'storybook-addon-react-router-v6'
import Advisories from './Advisories'
const meta = {
title: 'ValidatorOnboarding/Advisories',
component: Advisories,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [withRouter],
} satisfies Meta<typeof Advisories>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {
advisoriesIcons: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],
subStepAdvisories: 0,
},
}