ListItem
List item component to render inside a List component
Extends: TouchableOpacity
(meaning you can pass the super component's props as well).
(meaning you can pass the super component's props as well).
PROPS
name | description | type | default |
---|---|---|---|
height | the list item height | union | 63 |
onPress | action for when pressing the item | func | |
onLongPress | action for when long pressing the item | func | |
containerStyle | Additional styles for the top container | union | |
containerElement | The container element to wrap the ListItem | func | TouchableOpacity |
underlayColor | Colors.dark70 |
LIVE EXAMPLE
CODE SAMPLE
See example here.