From dc32d40270170a29f631eda7ef7cbd1bf6f55b3e Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Mon, 28 Aug 2023 13:51:49 +0300 Subject: [PATCH] feat: create story for RecoveryMechanismCard --- .../RecoveryMechanismCard.stories.ts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts new file mode 100644 index 00000000..6b570d50 --- /dev/null +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts @@ -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 + +export default meta +type Story = StoryObj + +export const Page: Story = { + args: { + value: 'Key Files', + selectedRecoveryMechanism: 'Key Files', + handleRecoveryMechanismChange: () => {}, + }, +}