import { ReactNode } from "react"; import { ChevronDown, ChevronUp } from "lucide-react"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; interface DashboardLayoutProps { header?: ReactNode; chart: ReactNode; orderBook: ReactNode; orderForm: ReactNode; isChartVisible: boolean; onToggleChart: () => void; className?: string; } /** * @description 트레이드 본문을 업비트 스타일의 2단 레이아웃으로 렌더링합니다. * @summary UI 흐름: TradeDashboardContent -> DashboardLayout -> 상단(차트) + 하단(호가/주문) 배치 * @see features/trade/components/layout/TradeDashboardContent.tsx - 차트 토글 상태와 슬롯 컴포넌트를 전달합니다. */ export function DashboardLayout({ header, chart, orderBook, orderForm, isChartVisible, onToggleChart, className, }: DashboardLayoutProps) { return (
실시간 차트