Create ConsensusGaugeCard.stories.tsx

This commit is contained in:
Hristo Nedelkov 2023-09-07 11:54:33 +03:00
parent 7129e9678f
commit 070d231736
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
import type { Meta, StoryObj } from '@storybook/react'
import ConsensusGaugeCard from './ConsensusGaugeCard'
import { withRouter } from 'storybook-addon-react-router-v6'
const meta = {
title: 'ValidatorOnboarding/ConsensusGaugeCard',
component: ConsensusGaugeCard,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [withRouter()],
} satisfies Meta<typeof ConsensusGaugeCard>
export default meta
type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {
color:'orange', synced:140000, total:200000, title: 'Synced Files'
},
}