Text

Text as a list item trailing content.

Constructors

Link copied to clipboard
constructor(label: String, style: OudsListItemTextStyle = OudsListItemTextStyle.Label)

Creates an instance of OudsListItemTrailing.Text. Use it to display a short value or secondary piece of information associated with the navigation destination.

constructor(label: String, extraLabel: String)

Creates an instance of OudsListItemTrailing.Text with an extra label. Use it when a value requires a short qualifier, unit or supporting label. Note that when an extraLabel is provided, the label retains the OudsListItemTextStyle.Label style.

Properties

Link copied to clipboard

Optional test tag for UI testing purposes.