import {Box, Typography, Link, useTheme} from "@mui/material"; import React from "react"; import EnterIcon from "../../../components/icons/questionsPage/enterIcon"; import SwitchAnswerOptions from "./switchAnswerOptions"; import ButtonsOptionsAndPict from "../ButtonsOptionsAndPict"; export default function AnswerOptions() { const theme = useTheme(); const [switchState, setSwitchState] = React.useState('setting'); // const [addInput, setAddInput] = React.useState([ // 0: {name: "распутье", variants: ["дорога влево", "дорога вправо"]}; // ]); const SSHC = (data: string) => { setSwitchState(data) } // const createCondition = (name) => { // addInput([...state, {name: name}]) // } // // const deleteCondition = (index) => { // // } return ( <> Добавьте ответ { // console.info("I'm a button."); // }} > Добавьте ответ или нажмите Enter ) }