-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
27 lines (24 loc) · 791 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React from 'react'
import { Grid } from '@material-ui/core'
import Details from './components/Details/Details'
import Main from './components/Main/Main';
import useStyles from './styles';
function App() {
const classes = useStyles();
return (
<div>
<Grid className={classes.grid} container spacing={0} alignItems="center" justify="center" style={{ height: '100vh' }}>
<Grid item xs={12} sm={4}>
<Details title="Income"/>
</Grid>
<Grid item xs={12} sm={3}>
<Main />
</Grid>
<Grid item xs={12} sm={4}>
<Details title="Expense"/>
</Grid>
</Grid>
</div>
);
}
export default App