알림목록 캔들차트 매매 시그널 표시
This commit is contained in:
@@ -5,6 +5,7 @@ import React from 'react';
|
||||
import type { IndicatorConfig } from '../../types';
|
||||
import type { Theme, Timeframe } from '../../types';
|
||||
import TradeSignalMiniChart from './TradeSignalMiniChart';
|
||||
import type { TradeSignalChartMarker } from '../../utils/tradeSignalChartMarkers';
|
||||
|
||||
const IcExpand = () => (
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" strokeWidth="1.7" strokeLinecap="round" strokeLinejoin="round" aria-hidden>
|
||||
@@ -36,6 +37,7 @@ export interface TradeSignalChartCardProps {
|
||||
onExpand: () => void;
|
||||
onRestore: () => void;
|
||||
onRealtimeActivity?: () => void;
|
||||
signalMarker?: TradeSignalChartMarker;
|
||||
}
|
||||
|
||||
const TradeSignalChartCard: React.FC<TradeSignalChartCardProps> = ({
|
||||
@@ -50,6 +52,7 @@ const TradeSignalChartCard: React.FC<TradeSignalChartCardProps> = ({
|
||||
onExpand,
|
||||
onRestore,
|
||||
onRealtimeActivity,
|
||||
signalMarker,
|
||||
}) => (
|
||||
<section
|
||||
className={[
|
||||
@@ -70,6 +73,7 @@ const TradeSignalChartCard: React.FC<TradeSignalChartCardProps> = ({
|
||||
enabled={enabled}
|
||||
fillHeight={expanded}
|
||||
onRealtimeActivity={onRealtimeActivity}
|
||||
signalMarker={signalMarker}
|
||||
/>
|
||||
{expanded ? (
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user