import { forwardRef, type HTMLAttributes, type ReactNode } from 'react'
import { cn } from '@/lib/utils'
export interface DashboardPageProps extends HTMLAttributes {
/** PageHeader or custom header section */
header?: ReactNode
/** Row of stat cards or summary widgets displayed above the content grid */
stats?: ReactNode
/** Two-column responsive content grid area */
children: ReactNode
}
export const DashboardPage = forwardRef(
({ header, stats, className, children, ...props }, ref) => {
return (
{header}
{stats &&
{stats}
}
{children}
)
},
)
DashboardPage.displayName = 'DashboardPage'