import Button from '../../ui/Button'; import TickerBar, { type TickerItem } from '../tickerbar/TickerBar'; type Props = { tickerItems: TickerItem[]; timeframe: string; onTimeframeChange: (tf: string) => void; showIndicators: boolean; onToggleIndicators: () => void; showBuild: boolean; onToggleBuild: () => void; priceAutoScale: boolean; onTogglePriceAutoScale: () => void; seriesLabel: string; isFullscreen: boolean; onToggleFullscreen: () => void; }; const timeframes = ['1s', '3s', '5s', '15s', '30s', '1m', '5m', '15m', '1h', '4h', '1D'] as const; export default function ChartToolbar({ tickerItems, timeframe, onTimeframeChange, showIndicators, onToggleIndicators, showBuild, onToggleBuild, priceAutoScale, onTogglePriceAutoScale, seriesLabel, isFullscreen, onToggleFullscreen, }: Props) { return (