File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React from 'react';
2
2
import { Grid } from '@material-ui/core' ;
3
3
import MUIDataTable from "mui-datatables" ;
4
4
5
+ import PageTitle from '../../components/PageTitle' ;
5
6
import Widget from '../../components/Widget' ;
6
7
import Table from '../dashboard/components/Table/Table' ;
7
8
import mock from '../dashboard/mock' ;
@@ -27,23 +28,26 @@ const datatableData = [
27
28
] ;
28
29
29
30
const Tables = props => (
30
- < Grid container spacing = { 32 } >
31
- < Grid item xs = { 12 } >
32
- < MUIDataTable
33
- title = "Employee List"
34
- data = { datatableData }
35
- columns = { [ "Name" , "Company" , "City" , "State" ] }
36
- options = { {
37
- filterType : 'checkbox' ,
38
- } }
39
- />
31
+ < React . Fragment >
32
+ < PageTitle title = "Tables" />
33
+ < Grid container spacing = { 32 } >
34
+ < Grid item xs = { 12 } >
35
+ < MUIDataTable
36
+ title = "Employee List"
37
+ data = { datatableData }
38
+ columns = { [ "Name" , "Company" , "City" , "State" ] }
39
+ options = { {
40
+ filterType : 'checkbox' ,
41
+ } }
42
+ />
43
+ </ Grid >
44
+ < Grid item xs = { 12 } >
45
+ < Widget title = "Material-UI Table" upperTitle noBodyPadding >
46
+ < Table data = { mock . table } />
47
+ </ Widget >
48
+ </ Grid >
40
49
</ Grid >
41
- < Grid item xs = { 12 } >
42
- < Widget title = "Material-UI Table" upperTitle noBodyPadding >
43
- < Table data = { mock . table } />
44
- </ Widget >
45
- </ Grid >
46
- </ Grid >
50
+ </ React . Fragment >
47
51
) ;
48
52
49
53
export default Tables ;
You can’t perform that action at this time.
0 commit comments