import Slider from "@/components/slider"; import { EngineName } from "@/types/enums"; import { MenuItem, Select, Button, Dialog, DialogTitle, DialogContent, FormControl, InputLabel, OutlinedInput, DialogActions, Typography, Grid, } from "@mui/material"; import { engineDepthAtom, engineMultiPvAtom } from "../analysis/states"; import ArrowOptions from "./arrowOptions"; import { useAtomLocalStorage } from "@/hooks/useAtomLocalStorage"; interface Props { open: boolean; onClose: () => void; } export default function EngineSettingsDialog({ open, onClose }: Props) { const [depth, setDepth] = useAtomLocalStorage( "engine-depth", engineDepthAtom ); const [multiPv, setMultiPv] = useAtomLocalStorage( "engine-multi-pv", engineMultiPvAtom ); return ( Set engine parameters Stockfish 16 is the only engine available now, more engine choices will come soon ! Engine ); } const engineLabel: Record = { [EngineName.Stockfish16]: "Stockfish 16", };