diff --git a/package.json b/package.json index ac4317f..0d88a8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@redlotus/ui", - "version": "0.1.3", + "version": "0.1.4", "description": "React UI library", "type": "module", "scripts": { diff --git a/src/components/layouts/wrappers/logged-in/PartialPageWrapper.tsx b/src/components/layouts/wrappers/logged-in/PartialPageWrapper.tsx index be010ae..febbca4 100644 --- a/src/components/layouts/wrappers/logged-in/PartialPageWrapper.tsx +++ b/src/components/layouts/wrappers/logged-in/PartialPageWrapper.tsx @@ -8,15 +8,22 @@ interface Props { * Main content */ children: React.ReactNode; - Sidebar: React.ReactNode; + Sidebar?: React.ReactNode; MobileContent: React.ReactNode; /** * Column on the right side of the screen */ RightSide?: React.ReactNode; + classNameContent?: string; } -export const PartialPageWrapper = ({ children, RightSide, Sidebar, MobileContent }: Props) => { +export const PartialPageWrapper = ({ + children, + RightSide, + Sidebar, + MobileContent, + classNameContent, +}: Props) => { const { isMobile } = useIsMobile(); const { sidebarState } = useSidebar(); @@ -42,6 +49,7 @@ export const PartialPageWrapper = ({ children, RightSide, Sidebar, MobileContent