feat: create story for validator name address
This commit is contained in:
parent
0fd00f3489
commit
c026ff3ae6
|
@ -0,0 +1,19 @@
|
||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
|
import ValidatorNameAddress from './ValidatorNameAddress'
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'General/ValidatorNameAddress',
|
||||||
|
component: ValidatorNameAddress,
|
||||||
|
tags: ['autodocs'],
|
||||||
|
} satisfies Meta<typeof ValidatorNameAddress>
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
|
export const Default: Story = {
|
||||||
|
args: {
|
||||||
|
number: 1,
|
||||||
|
address: 'zQ3asdf9d4Gs0',
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue