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';
22import { Grid } from '@material-ui/core' ;
33import MUIDataTable from "mui-datatables" ;
44
5+ import PageTitle from '../../components/PageTitle' ;
56import Widget from '../../components/Widget' ;
67import Table from '../dashboard/components/Table/Table' ;
78import mock from '../dashboard/mock' ;
@@ -27,23 +28,26 @@ const datatableData = [
2728] ;
2829
2930const 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 >
4049 </ 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 >
4751) ;
4852
4953export default Tables ;
You can’t perform that action at this time.
0 commit comments