Card.Section
Inner component for rendering content easily inside a Card component
(code example)
info
This component extends View props.
Usageβ
Live Editor
<Card.Section content={[{text: 'Card content here', text70: true, grey10: true}]} contentStyle={{alignItems: 'center'}} />
Result
Loading...
APIβ
backgroundColorβ
Background color
string
contentβ
Text content. Example: content={[{text: 'Youβre Invited!', text70: true, grey10: true}]}
ContentType[]
contentStyleβ
Component's container style
ViewStyle
imagePropsβ
Other image props that will be passed to the image
ImageProps
imageSourceβ
Will be used for the background when provided
ImageSourcePropType
imageStyleβ
The style for the background image
ImageStyle
leadingIconβ
Image props for a leading icon to render before the text
ImageProps
trailingIconβ
Image props for a trailing icon to render after the text
ImageProps