OnsListItem(content: String? = null, rich: Boolean = false, tappable: Boolean? = null, divider: DividerType? = null, classes: Set<String> = setOf(), init: (OnsListItem.() -> Unit)? = null)
Creates a list item component.
content
- the content of the center section
rich
- whether content can contain HTML code
tappable
- whether the element reacts to taps
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a list item component.