feat: add new steps components

This commit is contained in:
RadoslavDimchev 2023-08-24 12:03:32 +03:00
parent e319761b3f
commit b822190370
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,9 @@ import Titles from '../../components/General/Titles'
import { useState } from 'react'
import Overview from './Overview'
import KeyGeneration from './KeyGeneration'
import Advicsories from './Advicsories'
import ValidatorSetup from './ValidatorSetup'
import Activation from './Activation'
const ValidatorOnboarding = () => {
const [activeStep, setActiveStep] = useState(0)
@ -31,7 +34,10 @@ const ValidatorOnboarding = () => {
/>
<FormStepper activeStep={activeStep} changeActiveStep={changeActiveStep} />
{activeStep === 0 && <Overview />}
{activeStep === 1 && <Advicsories />}
{activeStep === 2 && <ValidatorSetup />}
{activeStep === 3 && <KeyGeneration />}
{activeStep === 4 && <Activation />}
</YStack>
</PageWrapperGradient>
)