mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-20 15:18:33 +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 = () => {
|
const DepositPanel = () => {
|
||||||
return <YStack></YStack>
|
return (
|
||||||
|
<PanelWrapper>
|
||||||
|
<div>Deposit Funds</div>
|
||||||
|
</PanelWrapper>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default DepositPanel
|
export default DepositPanel
|
||||||
|
@ -3,12 +3,13 @@ import { CloseCircleIcon } from '@status-im/icons'
|
|||||||
import { YStack } from 'tamagui'
|
import { YStack } from 'tamagui'
|
||||||
|
|
||||||
import KeystoreBackupsCard from '../../../../ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreBackupsCard'
|
import KeystoreBackupsCard from '../../../../ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreBackupsCard'
|
||||||
|
import PanelWrapper from './PanelWrapper'
|
||||||
|
|
||||||
const MigratePanel = () => {
|
const MigratePanel = () => {
|
||||||
const migrateValidatorHandler = () => {}
|
const migrateValidatorHandler = () => {}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<YStack space={'$2'} style={{ padding: '30px', alignItems: 'start' }}>
|
<PanelWrapper>
|
||||||
<Text size={19} weight={'semibold'}>
|
<Text size={19} weight={'semibold'}>
|
||||||
Migrate Validator
|
Migrate Validator
|
||||||
</Text>
|
</Text>
|
||||||
@ -36,7 +37,7 @@ const MigratePanel = () => {
|
|||||||
icon={<CloseCircleIcon size={20} />}
|
icon={<CloseCircleIcon size={20} />}
|
||||||
/>
|
/>
|
||||||
<Button onPress={migrateValidatorHandler}>Migrate Validator</Button>
|
<Button onPress={migrateValidatorHandler}>Migrate Validator</Button>
|
||||||
</YStack>
|
</PanelWrapper>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user