Create ConsensusClientCard.stories.tsx
This commit is contained in:
parent
ed9bed54c5
commit
436212c54f
|
@ -0,0 +1,20 @@
|
||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
|
import ConsensusClientCard from './ConsensusClientCard'
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'Dashboard/ConsensusClientCard',
|
||||||
|
component: ConsensusClientCard,
|
||||||
|
parameters: {
|
||||||
|
layout: 'centered',
|
||||||
|
},
|
||||||
|
tags: ['autodocs'],
|
||||||
|
} satisfies Meta<typeof ConsensusClientCard>
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
|
export const Default: Story = {
|
||||||
|
args: { value: 200000, total: 123562 },
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue