diff --git a/src/pages/ValidatorOnboarding/Overview/OverviewCard.stories.ts b/src/pages/ValidatorOnboarding/Overview/OverviewCard.stories.ts new file mode 100644 index 00000000..4750b7f2 --- /dev/null +++ b/src/pages/ValidatorOnboarding/Overview/OverviewCard.stories.ts @@ -0,0 +1,63 @@ +import type { Meta, StoryObj } from '@storybook/react' +import { withRouter } from 'storybook-addon-react-router-v6' + +import OverviewCard from './OverviewCard' + +const meta = { + title: 'ValidatorOnboarding/OverviewCard', + component: OverviewCard, + tags: ['autodocs'], + decorators: [withRouter], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const CurrentAPR: Story = { + args: { + text: 'Current APR', + value: '4.40%', + }, +} + +export const TotalETHStaked: Story = { + args: { + text: 'Total ETH Staked', + value: '9,451,123', + }, +} + +export const EstimatedActivationTime: Story = { + args: { + text: 'Estimated Activation Time', + value: '32 Days%', + }, +} + +export const ValidatorQueue: Story = { + args: { + text: 'Validator Queue', + value: '92603', + }, +} + +export const WithoutTitle: Story = { + args: { + text: '', + value: '92603', + }, +} + +export const WithoutValue: Story = { + args: { + text: 'Validator Queue', + value: '', + }, +} + +export const WithoutData: Story = { + args: { + text: '', + value: '', + }, +}