Skip to main content

Card.Image

Inner component for the Card component (better be a direct child)
(code example)

info

This component extends Image props.

Usage#

<Card.Image source={{uri: 'https://github.com/wix/react-native-ui-lib/blob/master/demo/src/assets/images/card-example.jpg'}} height={115}/>

API#

height#

Height
number

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
string[]

width#

Width
number