Skip to content

Support for defaultProps will be removed from function components in a future major release #29

Description

@iampava

When using the <ObjectInspector> component I get this error in the console:

ObjectInspectorItem: Support for defaultProps will be removed from function components in a future major release.
Use JavaScript default parameters instead.

I think it's an easy fix, I would be more than happy to contribute a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions