import React from 'react' import { X } from 'lucide-react' import { Button } from './ui/button' const SettingsModal = ({ isOpen, onClose, chartType, setChartType, theme, setTheme }) => { if (!isOpen) return null const chartTypes = [ { id: 'candlestick', label: 'Свічковий графік' }, { id: 'line', label: 'Лінійний графік' }, { id: 'area', label: 'Графік з областю' }, ] return (