gregnb / gregnb/mui-datatables
TypeError: styles.makeStyles is not a function
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
I am using Material-UI v5.0 beta and mui-datatables is not completable yet with this version. Getting the following error. Could you please update the packages to make it compatible? Thank you so much!
```
TypeError: styles.makeStyles is not a function
./node_modules/mui-datatables/dist/index.js
src/components/TableBodyCell.js:6
3 | import TableCell from '@material-ui/core/TableCell';
4 | import { makeStyles } from '@material-ui/core/styles';
5 |
> 6 | const useStyles = makeStyles(
7 | theme => ({
8 | root: {},
9 | cellHide: {
```
| Tech | Version |
|--------------|---------|
| Material-UI | "@material-ui/core": "^5.0.0-beta.1 |
| "@material-ui/icons"| ^4.11.2 |
|@material-ui/lab | ^5.0.0-alpha.40|
|@material-ui/styles | ^5.0.0-beta.1 |
|@material-ui/utils | ^5.0.0-beta.0 |
| MUI-datatables | ^3.7.7 |
| React | ^17.0.2 |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.