feat: create story for activation card

This commit is contained in:
RadoslavDimchev 2023-08-30 11:05:10 +03:00
parent 66213d7f6f
commit 8067521d16
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
import type { Meta, StoryObj } from '@storybook/react'
import ActivationCard from './ActivationCard'
import { withRouter } from 'storybook-addon-react-router-v6'
const meta = {
title: 'ValidatorOnboarding/ActivationCard',
component: ActivationCard,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {},
decorators: [withRouter()],
} satisfies Meta<typeof ActivationCard>
export default meta
type Story = StoryObj<typeof meta>
export const Page: Story = {
args: {
text: 'Execution Sync Status',
value: '',
isGaugeIncluded: true,
gaugeColor: '#2a4af5',
gaugeSynced: 123.524,
gaugeTotal: 172.503,
},
}