Create ConsensusClientCard.stories.tsx

This commit is contained in:
Hristo Nedelkov 2023-09-21 09:54:45 +03:00
parent ed9bed54c5
commit 436212c54f
1 changed files with 20 additions and 0 deletions

View File

@ -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 },
}