Home > General Components > ExpandableListItem

ExpandableListItem

@wq/material’s <ExpandableListItem/> component extends the default ListItem with expand/collapse support. The first child component will be used as the label, while all subsequent children will only appear when the list item is expanded.

Source

While @wq/react defines a placeholder implementation, @wq/material’s versions are more useful as reference:

  • ExpandableListItem.js (@wq/material-web)
  • ExpandableListItem.js (@wq/material-native)