mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-22 09:19:28 +00:00
feat: create story for validator profile
This commit is contained in:
parent
697ed65e59
commit
c641ac5e24
19
src/components/General/ValidatorProfile.stories.tsx
Normal file
19
src/components/General/ValidatorProfile.stories.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import ValidatorProfile from './ValidatorProfile'
|
||||
|
||||
const meta = {
|
||||
title: 'General/ValidatorProfile',
|
||||
component: ValidatorProfile,
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof ValidatorProfile>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
number: 1,
|
||||
address: 'zQ3asdf9d4Gs0',
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user