jungsoft / materialui-daterange-picker

A react date range picker implementation using @material-ui.
MIT License
70 stars 81 forks source link

Material-UI Grid: Pass justifyContent prop, instead of justify #44

Open flzozaya opened 9 months ago

flzozaya commented 9 months ago

Currently getting a console Warning:

Failed prop type: The prop `justify` of `ForwardRef(Grid2)` is deprecated. Use `justifyContent` instead, the prop was renamed.

This is a follow up on Issue 24 that seems to have been addressed on Pull Request #25

However, looks like this change was merged into master branch. But, it didn't actually make it to the latest v1.1.92 release? When making use of the library, It is still passing justify instead of justifyContent.

v1.1.92 tag 👉 https://github.com/jungsoft/materialui-daterange-picker/blob/1.1.92/package/src/components/Menu.tsx#L103 master branch 👉 https://github.com/jungsoft/materialui-daterange-picker/blob/master/package/src/components/Menu.tsx#L103

Would it be possible to release (or re-release) this to update package and remove this error?

image