File size: 642 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import React from 'react';
import Main from 'calypso/components/main';
import SidebarNavigation from 'calypso/jetpack-cloud/sections/partner-portal/sidebar-navigation';
import './style.scss';
type Props = {
mainContent: React.ReactNode;
rightSidebar: React.ReactNode;
};
const ContentSidebar = ( { mainContent, rightSidebar }: Props ) => {
return (
<>
<SidebarNavigation />
<Main wideLayout className="content-sidebar">
<div className="content-sidebar__main-content">{ mainContent }</div>
<aside className="content-sidebar__right-sidebar">{ rightSidebar }</aside>
</Main>
</>
);
};
export default ContentSidebar;
|