2023-08-24 09:35:33 +00:00
|
|
|
import type { Meta, StoryObj } from '@storybook/react'
|
2023-08-24 11:54:37 +00:00
|
|
|
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'],
|
2023-08-24 11:54:37 +00:00
|
|
|
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>
|
|
|
|
|
2023-08-30 11:34:11 +00:00
|
|
|
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
|
|
|
}
|