feat: create story for table row

This commit is contained in:
RadoslavDimchev 2023-11-20 20:11:19 +02:00
parent 75ca2291b0
commit b3de3be528
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import type { Meta, StoryObj } from '@storybook/react'
import ManagementTableRow from './ManagementTableRow'
import { VALIDATORS_DATA } from '../../../constants'
const meta = {
title: 'ValidatorManagement/ManagementTableRow',
component: ManagementTableRow,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
} satisfies Meta<typeof ManagementTableRow>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {
validator: VALIDATORS_DATA[0],
},
}