@@ -18,20 +18,27 @@ Version 3 has been released! You can read about the [updates here](https://githu
1818</div >
1919
2020# Table of contents
21- * [ Install] ( #install )
22- * [ Demo] ( #demo )
23- * [ Compatibility] ( #compatibility )
24- * [ Usage] ( #usage )
25- * [ API] ( #api )
26- * [ Customize Columns] ( #customize-columns )
27- * [ Plug-ins] ( #plug-ins )
28- * [ Customize Styling] ( #customize-styling )
29- * [ Custom Components] ( #custom-components )
30- * [ Remote Data] ( #remote-data )
31- * [ Localization] ( #localization )
32- * [ Contributing] ( #contributing )
33- * [ License] ( #licence )
34- * [ Thanks] ( #thanks )
21+ - [ MUI-Datatables - Datatables for MUI (formerly Material-UI)] ( #mui-datatables---datatables-for-mui-formerly-material-ui )
22+ - [ Table of contents] ( #table-of-contents )
23+ - [ Install] ( #install )
24+ - [ Compatibility] ( #compatibility )
25+ - [ Demo] ( #demo )
26+ - [ Usage] ( #usage )
27+ - [ API] ( #api )
28+ - [ < ; MUIDataTable />] ( #muidatatable- )
29+ - [ Options:] ( #options )
30+ - [ Customize Columns] ( #customize-columns )
31+ - [ Column:] ( #column )
32+ - [ Column Options:] ( #column-options )
33+ - [ Plug-ins] ( #plug-ins )
34+ - [ Available Plug-ins:] ( #available-plug-ins )
35+ - [ Customize Styling] ( #customize-styling )
36+ - [ Custom Components] ( #custom-components )
37+ - [ Remote Data] ( #remote-data )
38+ - [ Localization] ( #localization )
39+ - [ Contributing] ( #contributing )
40+ - [ License] ( #license )
41+ - [ Thanks] ( #thanks )
3542
3643## Install
3744
@@ -47,7 +54,7 @@ If your project doesn't already use them, you need to install mui v5 and it's ic
4754| ^2.0.0 | ^3.0.0 | ` @material-ui/core ` ,` @material-ui/icons ` |
4855| ^3.0.0 | ^4.10.0 | ` @material-ui/core ` ,` @material-ui/icons ` |
4956| ^3.8.0 | ^4.12.0 | ` @material-ui/core ` ,` @material-ui/icons ` |
50- | ^4.0.0 | ^5.0.0 | ` @mui/material ` ,` @mui/icons-material ` |
57+ | ^4.0.0 | ^5.9.3 | ` @mui/material ` ,` @mui/icons-material ` |
5158
5259## Demo
5360
@@ -365,13 +372,6 @@ Using Material-UI theme overrides will allow you to customize styling to your li
365372import React from "react";
366373import MUIDataTable from "mui-datatables";
367374import { createTheme, ThemeProvider } from ' @mui/material/styles' ;
368- import { CacheProvider } from " @emotion/react" ;
369- import createCache from " @emotion/cache" ;
370-
371- const muiCache = createCache ({
372- " key" : " mui" ,
373- " prepend" : true
374- });
375375
376376class BodyCellExample extends React .Component {
377377
@@ -390,11 +390,9 @@ class BodyCellExample extends React.Component {
390390 render () {
391391
392392 return (
393- < CacheProvider value= {muiCache}>
394393 < ThemeProvider theme= {this .getMuiTheme ()}>
395- < MUIDataTable title= {" ACME Employee list" } data= {data} columns= {columns} options= {options} / >
394+ < MUIDataTable title= {" ACME Employee list" } data= {data} columns= {columns} options= {options} / >
396395 < / ThemeProvider>
397- < / CacheProvider>
398396 );
399397
400398 }
0 commit comments