diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts index 7bc18916..460ea0e5 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts @@ -16,5 +16,8 @@ export default meta type Story = StoryObj export const Page: Story = { - args: {}, + args: { + selectedRecoveryMechanism: 'Key Files', + handleRecoveryMechanismChange: () => {}, + }, } diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx index 5c8eb84f..e7c4878c 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx @@ -1,29 +1,37 @@ import { Text } from '@status-im/components' import { XStack } from 'tamagui' -import BorderBox from '../../../components/General/BorderBox' +import RecoveryMechanismCard from './RecoveryMechanismCard' -const RecoveryMechanism = () => { +type RecoveryMechanismProps = { + selectedRecoveryMechanism: string + handleRecoveryMechanismChange: (value: string) => void +} + +const RecoveryMechanism = ({ + selectedRecoveryMechanism, + handleRecoveryMechanismChange, +}: RecoveryMechanismProps) => { return ( Select Recovery Mechanism - - - - Key Files - - - - - Recovery Phrase - - - - - Both Key Files & Recovery Phrase - - + + + + )