feat(validator onboarding): implement back button
This commit is contained in:
parent
f86e5d77f4
commit
e80beda83c
|
@ -145,7 +145,8 @@ const ContinueButton = () => {
|
||||||
<XStack
|
<XStack
|
||||||
style={{
|
style={{
|
||||||
width: '100%',
|
width: '100%',
|
||||||
justifyContent: isActivationValScreen||true ? 'space-between' : 'end',
|
justifyContent:
|
||||||
|
isActivationValScreen || true ? 'space-between' : 'end',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
zIndex: 1000,
|
zIndex: 1000,
|
||||||
marginTop: '12px',
|
marginTop: '12px',
|
||||||
|
@ -160,7 +161,7 @@ const ContinueButton = () => {
|
||||||
style={{ fontWeight: 'bold', zIndex: 999 }}
|
style={{ fontWeight: 'bold', zIndex: 999 }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<BackButton buttonState="pressed" prevPage="Gosho"></BackButton>
|
<BackButton prevPageIndex={activeStep}></BackButton>
|
||||||
<Button onPress={continueHandler} size={40} disabled={isDisabled}>
|
<Button onPress={continueHandler} size={40} disabled={isDisabled}>
|
||||||
{activeStep < 6 ? 'Continue' : 'Continue to Dashboard'}
|
{activeStep < 6 ? 'Continue' : 'Continue to Dashboard'}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in New Issue