fix: add icon, order imports and add spaces

This commit is contained in:
RadoslavDimchev 2023-08-30 13:58:56 +03:00
parent f470267c5b
commit 469f7c06af
3 changed files with 13 additions and 6 deletions

View File

@ -1,10 +1,11 @@
import { Separator, Stack, XStack, YStack } from 'tamagui' import { Separator, Stack, XStack, YStack } from 'tamagui'
import SetupRow from './SetupRow'
import WithdrawalAddress from './WithdrawalAddress'
import { Text } from '@status-im/components' import { Text } from '@status-im/components'
import { ArrowRightIcon } from '@status-im/icons' import { ArrowRightIcon } from '@status-im/icons'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
import SetupRow from './SetupRow'
import WithdrawalAddress from './WithdrawalAddress'
const ClientSetup = () => { const ClientSetup = () => {
return ( return (
<YStack padding={'26px'} width={'100%'} space={'$8'}> <YStack padding={'26px'} width={'100%'} space={'$8'}>

View File

@ -1,10 +1,11 @@
import { Stack, XStack, YStack } from 'tamagui' import { Stack, XStack, YStack } from 'tamagui'
import { Input as StatusInput, Text } from '@status-im/components' import { Input as StatusInput, Text } from '@status-im/components'
import { AddIcon } from '@status-im/icons' import { AddIcon, ChevronDownIcon } from '@status-im/icons'
type SetupRowProps = { type SetupRowProps = {
title: string title: string
} }
const SetupRow = ({ title }: SetupRowProps) => { const SetupRow = ({ title }: SetupRowProps) => {
return ( return (
<YStack space={'$4'}> <YStack space={'$4'}>
@ -27,9 +28,12 @@ const SetupRow = ({ title }: SetupRowProps) => {
</Text> </Text>
</YStack> </YStack>
<YStack space={'$2'}> <YStack space={'$2'}>
<XStack style={{ justifyContent: 'space-between' }}>
<Text size={19} weight={'semibold'} color="#09101C"> <Text size={19} weight={'semibold'} color="#09101C">
USD USD
</Text> </Text>
<ChevronDownIcon size={16} color={'#919191'} />
</XStack>
<Text size={27} weight={'semibold'} color="#09101C"> <Text size={27} weight={'semibold'} color="#09101C">
$4,273 USD $4,273 USD
</Text> </Text>

View File

@ -1,9 +1,11 @@
import { Stack, YStack } from 'tamagui' import { Stack, YStack } from 'tamagui'
import { InformationBox, Input as StatusInput, Text } from '@status-im/components' import { InformationBox, Input as StatusInput, Text } from '@status-im/components'
import { ClearIcon, CloseCircleIcon } from '@status-im/icons' import { ClearIcon, CloseCircleIcon } from '@status-im/icons'
type WithdrawalAddressProps = { type WithdrawalAddressProps = {
title: string title: string
} }
const WithdrawalAddress = ({ title }: WithdrawalAddressProps) => { const WithdrawalAddress = ({ title }: WithdrawalAddressProps) => {
return ( return (
<YStack space={'$4'}> <YStack space={'$4'}>