import { Box, Switch } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import InnerPanel from '../InnerPanel'; import { ProgressBar } from '../Bars'; import { BodyText } from '../Text'; import PanelHeader from '../PanelHeader'; const useStyles = makeStyles(() => ({ state: { paddingLeft: '10px', paddingRight: '10px', paddingTop: '20px', }, bar: { paddingLeft: '10px', paddingRight: '10px', }, })); const AnvilNode = ({ node, }: { node: Array; }): JSX.Element => { const classes = useStyles(); return ( <> {node && node.map( (n): JSX.Element => { return ( ); }, )} ); }; export default AnvilNode;