feat: create story for management table body

This commit is contained in:
RadoslavDimchev 2023-11-20 20:08:36 +02:00
parent 0d546ddc5f
commit 58f52889e5
1 changed files with 22 additions and 0 deletions

View File

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