import React from 'react'; import { DashboardSidebar } from './DashboardSidebar'; interface DashboardPageLayoutProps { children: React.ReactNode; title: string; description?: string; } export function DashboardPageLayout({ children, title, description }: DashboardPageLayoutProps): JSX.Element { return (

{title}

{description && (

{description}

)}
{children}
); }