Skip to content

Bug (minor): img element does not take children #76

Closed
@jasonzoladz

Description

@jasonzoladz

Currently, using img shows this in the console:

image

It still works, but nobody likes seeing red in development.

The type signature for img should just be:

img :: Array Props -> ReactElement

Let me know if you'd like me submit a pull request and I'll put one together this weekend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: breaking changeA change that requires a major version bump.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions