feat(panels): use new panel wrapper

This commit is contained in:
RadoslavDimchev 2024-02-20 12:23:07 +02:00 committed by Emil Ivanichkov
parent c30a643b7b
commit c05b938ab6
2 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,11 @@
import { YStack } from 'tamagui'
import PanelWrapper from './PanelWrapper'
const DepositPanel = () => {
return <YStack></YStack>
return (
<PanelWrapper>
<div>Deposit Funds</div>
</PanelWrapper>
)
}
export default DepositPanel

View File

@ -3,12 +3,13 @@ import { CloseCircleIcon } from '@status-im/icons'
import { YStack } from 'tamagui'
import KeystoreBackupsCard from '../../../../ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreBackupsCard'
import PanelWrapper from './PanelWrapper'
const MigratePanel = () => {
const migrateValidatorHandler = () => {}
return (
<YStack space={'$2'} style={{ padding: '30px', alignItems: 'start' }}>
<PanelWrapper>
<Text size={19} weight={'semibold'}>
Migrate Validator
</Text>
@ -36,7 +37,7 @@ const MigratePanel = () => {
icon={<CloseCircleIcon size={20} />}
/>
<Button onPress={migrateValidatorHandler}>Migrate Validator</Button>
</YStack>
</PanelWrapper>
)
}