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