mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-09 19:15:38 +00:00
feat: create story for table header
This commit is contained in:
parent
58f52889e5
commit
75ca2291b0
@ -0,0 +1,21 @@
|
|||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
|
import ManagementTableHeader from './ManagementTableHeader'
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'ValidatorManagement/ManagementTableHeader',
|
||||||
|
component: ManagementTableHeader,
|
||||||
|
parameters: {
|
||||||
|
layout: 'centered',
|
||||||
|
},
|
||||||
|
tags: ['autodocs'],
|
||||||
|
} satisfies Meta<typeof ManagementTableHeader>
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
|
export const Default: Story = {
|
||||||
|
args: {
|
||||||
|
validatorsAmount: 4,
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user