|
|
@ -18,6 +18,8 @@ import Fade from "@material-ui/core/Fade"; |
|
|
|
import Modal from "@material-ui/core/Modal"; |
|
|
|
import {Link} from "react-router-dom"; |
|
|
|
import Button from "@material-ui/core/Button"; |
|
|
|
import KeyboardArrowDownIcon from '@material-ui/icons/KeyboardArrowDown'; |
|
|
|
import KeyboardArrowUpIcon from '@material-ui/icons/KeyboardArrowUp'; |
|
|
|
|
|
|
|
const useRowStyles = makeStyles({ |
|
|
|
root: { |
|
|
@ -35,10 +37,10 @@ function Row(props) { |
|
|
|
|
|
|
|
return ( |
|
|
|
<React.Fragment> |
|
|
|
<TableRow className={classes.root}> |
|
|
|
<TableRow className={classes.root} onClick={() => setOpen(!open)}> |
|
|
|
<TableCell> |
|
|
|
<IconButton aria-label="expand row" size="small" onClick={() => setOpen(!open)}> |
|
|
|
{open ? '▲' : '▼'} |
|
|
|
<IconButton aria-label="expand row" size="small"> |
|
|
|
{open ? <KeyboardArrowUpIcon /> : <KeyboardArrowDownIcon />} |
|
|
|
</IconButton> |
|
|
|
</TableCell> |
|
|
|
<TableCell component="th" scope="row"> |
|
|
|