mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added working profile sidebar
This commit is contained in:
parent
c6c7dbe75d
commit
07b4874f69
16 changed files with 202 additions and 84 deletions
|
@ -1,5 +1,6 @@
|
|||
import React, { VFC } from 'react';
|
||||
|
||||
import { Tabs } from '~/components/dialogs/Tabs';
|
||||
import { ProfileSidebarSettings } from '~/components/profile/ProfileSidebarSettings';
|
||||
import { SidebarStack } from '~/components/sidebar/SidebarStack';
|
||||
import { SidebarStackCard } from '~/components/sidebar/SidebarStackCard';
|
||||
|
@ -13,13 +14,13 @@ const ProfileSidebar: VFC<ProfileSidebarProps> = ({ onRequestClose }) => {
|
|||
return (
|
||||
<SidebarWrapper onClose={onRequestClose}>
|
||||
<SidebarStack>
|
||||
<SidebarStackCard headerFeature="close" title="Профиль">
|
||||
<SidebarStackCard headerFeature="close" title="Профиль" onBackPress={onRequestClose}>
|
||||
<ProfileSidebarMenu onClose={onRequestClose} />
|
||||
</SidebarStackCard>
|
||||
|
||||
<SidebarStackCard width={600} headerFeature="back" title="Настройки">
|
||||
<SidebarStack.Cards>
|
||||
<ProfileSidebarSettings />
|
||||
</SidebarStackCard>
|
||||
</SidebarStack.Cards>
|
||||
</SidebarStack>
|
||||
</SidebarWrapper>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue