Card.Image
Card.Image, part of the Card component belongs inside a Card (better be a direct child)
PROPS
name | description | type | default |
---|---|---|---|
imageSource | Image source, either remote source or local. Note: for remote pass object {uri: <remote_uri_string>} | union | |
width | Image width | union | |
height | Image height | union | |
position | The Image position which determines the appropriate flex-ness of the image and border radius (for Android) this prop derived automatically from Card parent component if it rendered as a direct child of the Card component | union | |
borderRadius | border radius, basically for Android since overflow doesn't work well | number | BorderRadiuses.br40 |
CODE SAMPLE
See example here.