Skip to content

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

@flzozaya

Description

@flzozaya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions