onClick

val onClick: () -> Unit

Parameters

onClick

: The callback that will be called when the item is clicked.