Skip to content

Bug if Image as a child of Button component #72

@mflash123

Description

@mflash123
      <Button>
        <Image src="https://images.unsplash.com/photo-1614891069485-2402767ca01f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max" />
      </Button>

In this case, Image component doesnt view.
How can I make it work with Button material ui component?

Here is example:
https://codesandbox.io/s/gifted-hofstadter-y496r?file=/src/App.js

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