add Button to sidebar

This commit is contained in:
Pavel Prichodko 2023-01-18 16:46:11 +01:00
parent 9fbbe267b5
commit d6a5aa47a5
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import { Stack } from '@tamagui/core'
import { Accordion } from '../accordion/accordion'
import { AccordionItem } from '../accordion/accordionItem'
import { Avatar } from '../avatar'
import { Button } from '../button'
// import { Button } from '../button'
import { Basketball, Collaboration, Fire, Peach, Play, Unicorn } from '../emoji'
import { Group } from '../icon'
@ -229,7 +230,7 @@ const Sidebar = (props: Props) => {
borderTopRightRadius={20}
zIndex={10}
>
<Stack paddingHorizontal={16}>
<Stack paddingHorizontal={16} paddingBottom={16}>
<Stack marginTop={-32} marginBottom={12}>
<Avatar
withOutline
@ -243,6 +244,8 @@ const Sidebar = (props: Props) => {
<Group color="$neutral-100" size={16} />
<Paragraph ml={8}>{membersCount}</Paragraph>
</Stack>
<Button>Join community</Button>
</Stack>
{COMMUNITIES.map(community => (
<Accordion