From e60120b84a82ba9e2b01864f86d1a737405a051c Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 31 Aug 2023 05:45:33 +0300 Subject: [PATCH] feat: add move stories for rec mech card story --- .../RecoveryMechanismCard.stories.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts index d5c38d9e..05f1cbc8 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts @@ -16,10 +16,26 @@ const meta = { export default meta type Story = StoryObj -export const Page: Story = { +export const Selected: Story = { args: { value: KEYSTORE_FILES, recoveryMechanism: KEYSTORE_FILES, handleRecMechanismChange: () => {}, }, } + +export const NotSelected: Story = { + args: { + value: KEYSTORE_FILES, + recoveryMechanism: '', + handleRecMechanismChange: () => {}, + }, +} + +export const WithoutValue: Story = { + args: { + value: '', + recoveryMechanism: KEYSTORE_FILES, + handleRecMechanismChange: () => {}, + }, +}