Create ValidatorListItem.stories.tsx

This commit is contained in:
Hristo Nedelkov 2023-09-27 11:23:39 +03:00
parent af344e6e70
commit a7b947afe5
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
import type { Meta, StoryObj } from '@storybook/react'
import ValidatorListItem from './ValidatorListItem'
const meta = {
title: 'Dashboard/ValidatorListItem',
component: ValidatorListItem,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
} satisfies Meta<typeof ValidatorListItem>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: { avatarKey: '37880sfsef38fsb', name: 'Validator 1', selected: true, isAvatarChipIncluded: true, isVerified: true },
}