feat(migrate-panel): add rest of the content components

This commit is contained in:
RadoslavDimchev 2024-02-20 10:26:53 +02:00 committed by Emil Ivanichkov
parent 019c5d3204
commit 855c00412e
1 changed files with 7 additions and 1 deletions

View File

@ -1,22 +1,28 @@
import { InformationBox, Text } from '@status-im/components' import { Button, InformationBox, Text } from '@status-im/components'
import { CloseCircleIcon } from '@status-im/icons' import { CloseCircleIcon } from '@status-im/icons'
import { YStack } from 'tamagui' import { YStack } from 'tamagui'
import KeystoreBackupsCard from '../../../../ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreBackupsCard'
const MigratePanel = () => { const MigratePanel = () => {
const migrateValidatorHandler = () => {}
return ( return (
<YStack> <YStack>
<Text size={19} weight={'semibold'}> <Text size={19} weight={'semibold'}>
Migrate Validator Migrate Validator
</Text> </Text>
<img src="" alt="" />
<Text size={15}> <Text size={15}>
You are about to Migrate your validator it is not possible for you to You are about to Migrate your validator it is not possible for you to
revert this action! Please make sure you understand the consequences. revert this action! Please make sure you understand the consequences.
</Text> </Text>
<KeystoreBackupsCard />
<InformationBox <InformationBox
message="Please make sure to enforce the file on another node to continue validating with your Validator." message="Please make sure to enforce the file on another node to continue validating with your Validator."
variant="error" variant="error"
icon={<CloseCircleIcon size={20} />} icon={<CloseCircleIcon size={20} />}
/> />
<Button onPress={migrateValidatorHandler}>Migrate Validator</Button>
</YStack> </YStack>
) )
} }