/** * 매매 시그널 알림 — 캔들·지표 미니 차트 카드 (펼쳐보기 / 원래보기) */ import React from 'react'; import type { IndicatorConfig } from '../../types'; import type { Theme, Timeframe } from '../../types'; import TradeSignalMiniChart from './TradeSignalMiniChart'; const IcExpand = () => ( ); const IcRestore = () => ( ); export interface TradeSignalChartCardProps { label: string; meta: string; market: string; timeframe: Timeframe; theme: Theme; indicators: IndicatorConfig[]; enabled: boolean; expanded: boolean; onExpand: () => void; onRestore: () => void; onRealtimeActivity?: () => void; } const TradeSignalChartCard: React.FC = ({ label, meta, market, timeframe, theme, indicators, enabled, expanded, onExpand, onRestore, onRealtimeActivity, }) => ( {label} {meta} {expanded ? ( { e.stopPropagation(); onRestore(); }} > ) : ( { e.stopPropagation(); onExpand(); }} > )} ); export default TradeSignalChartCard;