import { JsonView, allExpanded, darkStyles, defaultStyles, } from "react-json-view-lite"; import "react-json-view-lite/dist/index.css"; import { IconButton, Modal } from "@mui/material"; import CloseIcon from "@mui/icons-material/Close"; import { useThemeContext } from "../../contexts/ThemeContext"; type JSONViewerProps = { json: Object | any[]; open: boolean; onClose: () => void; }; export default function JSONViewer({ json, open, onClose }: JSONViewerProps) { const { theme } = useThemeContext(); return (

Trace

); }