gregnb / gregnb/mui-datatables

Warning: Material-UI: theme.spacing.unit usage has been deprecated.

Open
#676 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

MUI-datatables works like expected but throw an error message.

## Expected Behavior

No error message.

## Current Behavior

Error message:

```
Warning: Material-UI: theme.spacing.unit usage has been deprecated.
It will be removed in v5.
You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.
```

## Steps to Reproduce (for bugs)

1. Create table like this example: https://github.com/gregnb/mui-datatables/blob/master/examples/simple/index.js
2. Check one checkbox

## Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | 4.0.1 |
| MUI-datatables | 2.2.0 |
| React | 16.8.6 |
| browser | Chrome 74.0.3729.169 |
| OS | Windows 10 |

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.