mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 04:09:26 +00:00
42 lines
921 B
JavaScript
42 lines
921 B
JavaScript
import React from "react";
|
|
|
|
import Paper from "@material-ui/core/Paper";
|
|
import Container from "@material-ui/core/Container";
|
|
import Grid from "@material-ui/core/Grid";
|
|
import { makeStyles } from "@material-ui/core/styles";
|
|
|
|
import Chart from "./Chart";
|
|
|
|
const useStyles = makeStyles(theme => ({
|
|
container: {
|
|
paddingTop: theme.spacing(4),
|
|
paddingBottom: theme.spacing(4),
|
|
},
|
|
fixedHeightPaper: {
|
|
padding: theme.spacing(2),
|
|
display: "flex",
|
|
overflow: "auto",
|
|
flexDirection: "column",
|
|
height: 240,
|
|
},
|
|
}));
|
|
|
|
const Dashboard = () => {
|
|
const classes = useStyles();
|
|
return (
|
|
<div>
|
|
<Container maxWidth="lg" className={classes.container}>
|
|
<Grid container spacing={3}>
|
|
<Grid item xs={12}>
|
|
<Paper className={classes.fixedHeightPaper}>
|
|
<Chart />
|
|
</Paper>
|
|
</Grid>
|
|
</Grid>
|
|
</Container>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Dashboard;
|