GridListItem
A single grid view/list item component
(code example)
Usageβ
Live Editor
<GridListItem key={index} title={'Title'} subtitle={'Subtitle'} description={'Description goes here'}/>
Result
Loading...
APIβ
alignToStartβ
Should content be align to start
boolean
containerPropsβ
Props to pass on to the touchable container
TouchableOpacityProps | ViewProps
containerStyleβ
Custom container style
ViewStyle
descriptionβ
Description content text
string | React.ReactElement
descriptionColorβ
Description content color
string
descriptionLinesβ
Description content number of lines
number
descriptionTypographyβ
Description content typography
string
horizontalAlignmentβ
Content horizontal alignment
HorizontalAlignment
imagePropsβ
Image props object for rendering an image item
ImageProps
itemSizeβ
The item size
number | ImageSize
onPressβ
The item's action handler
TouchableOpacityProps['onPress']