item

fun OnsList.item(content: String? = null, rich: Boolean = false, tappable: Boolean? = null, divider: DividerType? = null, className: String? = null, init: OnsListItem.() -> Unit? = null): OnsListItem

DSL builder extension function.

It takes the same parameters as the constructor of the built component.