Skip to main content

Card.Section

PlaygroundCode Example
TIP
This component extends the basic/View props.
APIThis is the list of additional props for the component

backgroundColor
string
​

Background color

content
ContentType[]
​

Text content. Example: content=\{[\{text: 'You’re Invited!', text70: true, grey10: true}\]}\

contentStyle
ViewStyle
​

Component's container style

imageProps
ImageProps
​

Other image props that will be passed to the image

imageSource
ImageSourcePropType
​

Will be used for the background when provided

imageStyle
ImageStyle
​

The style for the background image

leadingIcon
ImageProps
​

Image props for a leading icon to render before the text

trailingIcon
ImageProps
​

Image props for a trailing icon to render after the text