import { FC } from "react"; import { Box, Typography, useMediaQuery, useTheme } from "@mui/material"; import { StepButtonsBlock } from "../StepButtonsBlock"; import { SettingItem } from "./SettingItem/SettingItem"; import { SelectedQuestions, SelectedTags } from "../types"; type AmoSettingsBlockProps = { stepTitles: string[]; selectedFunnel: string | null; selectedStage: string | null; selectedDealUser: string | null; selectedQuestions: SelectedQuestions; selectedTags: SelectedTags; toBack: () => void setStep: (step: number) => void }; export const SettingsBlock: FC = ({ stepTitles, selectedFunnel, selectedDealUser, selectedStage, selectedQuestions, selectedTags, toBack, setStep, }) => { const theme = useTheme(); const isMobile = useMediaQuery(theme.breakpoints.down(600)); return ( Мои настройки {stepTitles && stepTitles.map((title, index) => ( ))} ); };