dojo / widgets

:rocket: Dojo - UI widgets.
https://widgets.dojo.io
Other
89 stars 66 forks source link

Support secondary text in ListItem widget #1688

Open aciccarello opened 3 years ago

aciccarello commented 3 years ago

Enhancement

The ListItem widget should be able to accept secondary text. In the material design theme, this would be shown below the primary text with a lighter shade font.

Code

<ListItem>
{{
  primary: 'Primary text',
  secondary: 'Secondary text'
}}
</ListItem>

Expected behavior:

Secondary text list example from material design spec

This is split from #1570