{title}
{description && ({description}
)}
{children}
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 (
{description}
)}