mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 06:16:38 +00:00
feat(panels): use new panel wrapper
This commit is contained in:
parent
c30a643b7b
commit
c05b938ab6
@ -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
|
||||
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user