import { CSSProperties, useState } from "react"; import { Box, ToggleButton, ToggleButtonGroup } from "@mui/material"; import { PhotoProvider, PhotoView } from "react-photo-view"; import MonacoEditor from "react-monaco-editor"; import { OutputIntf } from "../Interfaces/OutputIntf"; export function OutputField(props: OutputIntf) { const [state, setState] = useState('tree') const { imageAddress, compiledCode, compileInformation } = props.data; return <>