import React from "react"; import { makeStyles } from "@material-ui/core/styles"; import AppBar from "@material-ui/core/AppBar"; import Tabs from "@material-ui/core/Tabs"; import Tab from "@material-ui/core/Tab"; import NodeList from "./NodeList"; import InfoExpander from "./InfoExpander"; function a11yProps(index) { return { id: `scrollable-auto-tab-${index}`, "aria-controls": `scrollable-auto-tabpanel-${index}`, }; } const useStyles = makeStyles((theme) => ({ root: { flexGrow: 1, width: "100%", height: "100%", backgroundColor: theme.palette.background.paper, }, })); export default function GraphInfoTabs({ nodes, width }) { const classes = useStyles(); const [value, setValue] = React.useState(0); const handleChange = (event, newValue) => { setValue(newValue); }; return (
); }