fix(sidebars-wrapper): delete file

This commit is contained in:
RadoslavDimchev 2024-03-28 21:29:55 +02:00 committed by Radoslav Dimchev
parent 9db8ed7642
commit 6ec615b2f7
1 changed files with 0 additions and 32 deletions

View File

@ -1,32 +0,0 @@
import { ReactNode } from 'react'
import { XStack } from 'tamagui'
import LeftSidebar from '../General/LeftSidebar/LeftSidebar'
import RightSidebar from '../General/RightSideBar/RightSidebar'
import styles from './sidebars-wrapper.module.css'
type SidebarsWrapperProps = {
children: ReactNode
isNotLeftSideBar?: boolean
isNotRightSideBar?: boolean
}
const SidebarsWrapper = ({
children,
isNotLeftSideBar,
isNotRightSideBar,
}: SidebarsWrapperProps) => {
return (
<XStack style={{ height: '100vh' }}>
{!isNotLeftSideBar && <LeftSidebar />}
{children}
{!isNotRightSideBar && (
<div className={styles['right-sidebar-wrapper']}>
<RightSidebar />
</div>
)}
</XStack>
)
}
export default SidebarsWrapper