Skip to main content

List.ExpandableItem

PlaygroundCode Example
APIThis is the list of additional props for the component

containerStyle
ViewStyle
​

expandableCustomElement's container style

expandableCustomElement
React.ReactElement
​

Custom element to render inside the expandable section

isCollapsed
boolean
​

Should expandable type icon be in a collapsed state or not

separatorMode
ExpandableSeparatorModes ('none' | 'partial' | 'full')
​

Separator mode (none|partial|full)

showDivider
boolean
​

Show the ExpandableItem bottom Divider when is expended (default is true)

useSmallChevron
boolean
​

Show a small chevron instead of the regular icon