feat: create story for RecoveryMechanismCard
This commit is contained in:
parent
7ba8c9109d
commit
dc32d40270
|
@ -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: () => {},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue