Home > General Components > ListItem

ListItem

@wq/material’s <ListItem/> component is a list item supporting a primary title (as children), secondary description, and icon props. Any other props are passed on to the corresponding ListItem component from each library. <ListItem/> is analogous to <li> in HTML.

Source

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

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