import { ReactNode } from "react"; import { cn } from "@/lib/utils"; interface DashboardLayoutProps { header: ReactNode; chart: ReactNode; orderBook: ReactNode; orderForm: ReactNode; className?: string; } export function DashboardLayout({ header, chart, orderBook, orderForm, className, }: DashboardLayoutProps) { return (
{/* 1. Header Area */}
{header}
{/* 2. Main Content Area */}
{/* Left Column: Chart & Info */}
{chart}
{/* Future: Transaction History / Market Depth can go here */}
{/* Right Column: Order Book & Order Form */}
{/* Top: Order Book (Hoga) */}
{orderBook}
{/* Bottom: Order Form */}
{orderForm}
); }