Create ConsensusClientCard.stories.tsx

This commit is contained in:
Hristo Nedelkov 2023-09-07 11:54:29 +03:00
parent 3259cf7d90
commit 464afb44a9
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
import type { Meta, StoryObj } from '@storybook/react'
import ConsensusClientCard from './ConsensusClientCard'
import { withRouter } from 'storybook-addon-react-router-v6'
const meta = {
title: 'ValidatorOnboarding/ConsensusClientCard',
component: ConsensusClientCard,
tags: ['autodocs'],
decorators: [withRouter()],
} satisfies Meta<typeof ConsensusClientCard>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: { name: 'Erigon', icon: '/icons/erigon-circle.png' },
}