import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableContainer from '@material-ui/core/TableContainer'; import TableHead from '@material-ui/core/TableHead'; import TableRow from '@material-ui/core/TableRow'; import Paper from '@material-ui/core/Paper'; import Head from 'next/head' const useStyles = makeStyles({ table: { minWidth: 650, }, }); function createData(name, description, status) { return { name, description, status }; } const rows = [ createData('Command', 'Description', true), createData('Command', 'Description', true), createData('Command', 'Description', true), createData('Command', 'Description', true), ]; function Commands() { const classes = useStyles(); return ( <> Cath Commands Commands Description Status {rows.map((row) => ( {row.name} {row.description} {row.status ? 'Online' : 'Offline'} ))}
); } export default Commands