import { Box, Typography } from "@mui/material"; import CustomCheckbox from "@ui_kit/CustomCheckbox"; import CustomTextField from "@ui_kit/CustomTextField"; import { questionStore, updateQuestionsList } from "@root/questions"; import InfoIcon from "../../../assets/icons/InfoIcon"; type SettingDropDownProps = { totalIndex: number; }; export default function SettingDropDown({ totalIndex }: SettingDropDownProps) { const { listQuestions } = questionStore(); return ( <> Настройки ответов Текст в выпадающем списке { const clonContent = listQuestions[totalIndex].content; clonContent.default = target.value; updateQuestionsList(totalIndex, { content: clonContent }); }} /> Настройки вопросов ); }