Skip to content

Element type is invalid #15

@mkilpatrick

Description

@mkilpatrick

When I import this library and use it exactly the same way as the example I get

Element type is invalid: expected a string (for built-in components) or a
       class/function (for composite components) but got: object.

However, if I copy the src into my own project, along with this fix, it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions