import { Box, Typography } from "@mui/material"; import CustomCheckbox from "@ui_kit/CustomCheckbox"; import InfoIcon from "../../../assets/icons/InfoIcon"; import { questionStore, updateQuestionsList } from "@root/questions"; type SettingsDataProps = { totalIndex: number; }; export default function SettingsData({ totalIndex }: SettingsDataProps) { const { listQuestions } = questionStore(); return ( Настройки календаря { const clonContent = listQuestions[totalIndex].content; clonContent.range = target.checked; updateQuestionsList(totalIndex, { content: clonContent }); }} /> { const clonContent = listQuestions[totalIndex].content; clonContent.time = target.checked; updateQuestionsList(totalIndex, { content: clonContent }); }} /> Настройки вопросов ); }