feat: create story for RecoveryMechanismCard

This commit is contained in:
RadoslavDimchev 2023-08-28 13:51:49 +03:00
parent 7ba8c9109d
commit dc32d40270
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
import type { Meta, StoryObj } from '@storybook/react'
import RecoveryMechanismCard from './RecoveryMechanismCard'
const meta = {
title: 'ValidatorOnboarding/RecoveryMechanismCard',
component: RecoveryMechanismCard,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {},
} satisfies Meta<typeof RecoveryMechanismCard>
export default meta
type Story = StoryObj<typeof meta>
export const Page: Story = {
args: {
value: 'Key Files',
selectedRecoveryMechanism: 'Key Files',
handleRecoveryMechanismChange: () => {},
},
}