fix(sidebars-wrapper): name of component

This commit is contained in:
RadoslavDimchev 2024-03-27 09:48:20 +02:00 committed by Radoslav Dimchev
parent 90bbc345ad
commit df0fc77a92
2 changed files with 5 additions and 5 deletions

View File

@ -3,19 +3,19 @@ import { XStack } from 'tamagui'
import LeftSidebar from '../General/LeftSidebar/LeftSidebar' import LeftSidebar from '../General/LeftSidebar/LeftSidebar'
import RightSidebar from '../General/RightSideBar/RightSidebar' import RightSidebar from '../General/RightSideBar/RightSidebar'
import styles from './side-bars-wrapper.module.css' import styles from './sidebars-wrapper.module.css'
type SideBardsWrapperProps = { type SidebarsWrapperProps = {
children: ReactNode children: ReactNode
isNotLeftSideBar?: boolean isNotLeftSideBar?: boolean
isNotRightSideBar?: boolean isNotRightSideBar?: boolean
} }
const SideBarsWrapper = ({ const SidebarsWrapper = ({
children, children,
isNotLeftSideBar, isNotLeftSideBar,
isNotRightSideBar, isNotRightSideBar,
}: SideBardsWrapperProps) => { }: SidebarsWrapperProps) => {
return ( return (
<XStack style={{ height: '100vh' }}> <XStack style={{ height: '100vh' }}>
{!isNotLeftSideBar && <LeftSidebar />} {!isNotLeftSideBar && <LeftSidebar />}
@ -29,4 +29,4 @@ const SideBarsWrapper = ({
) )
} }
export default SideBarsWrapper export default SidebarsWrapper