Skip to content

[v4] Using require to import an image results in an object #9831

@hosseinmd

Description

@hosseinmd

It seems there is a problem when the img rendering
An object inserted into the src attribute.

React version: 16.14.0

Steps To Reproduce

Link to code example: https://github.com/hosseinmd/test-new-jsx

The current behavior

img src is an object

The expected behavior

Expected to insert url of image to src

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