fix icons names in topbar

This commit is contained in:
Pavel Prichodko 2023-01-23 14:35:59 +01:00
parent 59b70af321
commit 01dae76e43
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import { Divider, IconButton, Paragraph } from '@status-im/components' import { Divider, IconButton, Paragraph } from '@status-im/components'
import { Locked, Members, Options } from '@status-im/icons/20' import { LockedIcon, MembersIcon, OptionsIcon } from '@status-im/icons/20'
import { Stack } from '@tamagui/core' import { Stack } from '@tamagui/core'
type Props = { type Props = {
@ -24,7 +24,7 @@ export const Topbar = (props: Props) => {
<Paragraph weight="semibold" marginRight={4}> <Paragraph weight="semibold" marginRight={4}>
# random # random
</Paragraph> </Paragraph>
<Locked color="rgba(27, 39, 61, 0.4)" size={16} /> <LockedIcon color="rgba(27, 39, 61, 0.4)" size={16} />
<Divider height={16} /> <Divider height={16} />
<Paragraph weight="medium" color="$neutral-80-opa-50" variant="smaller"> <Paragraph weight="medium" color="$neutral-80-opa-50" variant="smaller">
Share random funny stuff with the community. Play nice. Share random funny stuff with the community. Play nice.
@ -33,11 +33,11 @@ export const Topbar = (props: Props) => {
<Stack space={12} flexDirection="row"> <Stack space={12} flexDirection="row">
<IconButton <IconButton
icon={<Members />} icon={<MembersIcon />}
selected={membersVisisble} selected={membersVisisble}
onPress={onMembersPress} onPress={onMembersPress}
/> />
<IconButton icon={<Options />} /> <IconButton icon={<OptionsIcon />} />
</Stack> </Stack>
</Stack> </Stack>
) )