fix: avatar icon and type

This commit is contained in:
RadoslavDimchev 2023-10-16 17:59:23 +03:00
parent e54725ecd7
commit 2dcbd5f45b
1 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { XStack, YStack } from 'tamagui' import { XStack, YStack } from 'tamagui'
import { InfoBadgeIcon } from '@status-im/icons'; import { InfoBadgeIcon } from '@status-im/icons'
import { Avatar, Text } from '@status-im/components' import { Avatar, Text } from '@status-im/components'
const PairedDeviceCard = () => { const PairedDeviceCard = () => {
@ -14,7 +14,12 @@ const PairedDeviceCard = () => {
alignItems={'center'} alignItems={'center'}
> >
<XStack space={'$3'} alignItems={'center'}> <XStack space={'$3'} alignItems={'center'}>
<Avatar backgroundColor="pink" size={32} type="user" name="RP" /> <Avatar
backgroundColor="pink"
type="icon"
size={32}
icon={<img src={'/icons/pepper.svg'} alt="pepper" />}
/>
<YStack> <YStack>
<Text size={13} color="#647084"> <Text size={13} color="#647084">
Paired Device Paired Device