Skip to content

[2.0.0] Failed prop type: Invalid props.style key 0 supplied to Image #2336

@Johan-dutoit

Description

@Johan-dutoit

When supplying image source to a card, the following yellowbox appears.

Expected behavior
Not to get a warning.

To Reproduce

<Card image={{ uri: 'https://someimageurl.com/pic.png' }} imageProps={{ resizeMode: 'cover' }}>
  <Typography h4>Name</Typography>
  <Typography p1>info</Typography>
</Card>

Screenshot 2020-04-29 at 09 40 37

Your Environment (please complete the following information):

software version
react-native-elements 2.0.0
react-native 0.62.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 Bug📥 PR SubmittedPull request has been submitted to resolve this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions