List, ListItem
Last updated
Last updated
Name
Type
Description
data
array
renderItem
function
render function based on react-native list
renderSectionHeader
function
override default section header rendering
renderSeparator
node
override default rendering of separator line
panel
node
The content of the panel to show/hide on scroll
navbarHeight
integer
height of the panel (needed to calculate animations upfront)
withSections
boolean
toggles rendering of section headers
keyExtractor
function
used to get key to set per list item
...
Name
Type
Description
title
string
main content of the list item
text
string
text below main content (second line)
multiline
boolean
allow multiline title, text
icon
string
left icon name
rightIcon
string
right icon name
figure
element
react element to display instead of left icon
rightFigure
element
react element to display instead of right icon
onPress
function
action to handle on pressing the list item
style
object
style override
Array of items to render or array of sections. Learn more about react-native .
props of react-native