From 070d2317361e9b97e436ce8dc7c51a213215b80e Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Thu, 7 Sep 2023 11:54:33 +0300 Subject: [PATCH] Create ConsensusGaugeCard.stories.tsx --- .../ConsensusGaugeCard.stories.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusGaugeCard.stories.tsx diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusGaugeCard.stories.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusGaugeCard.stories.tsx new file mode 100644 index 00000000..77bd0a57 --- /dev/null +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusGaugeCard.stories.tsx @@ -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 + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: { + color:'orange', synced:140000, total:200000, title: 'Synced Files' + }, +}