SearchActionItem

data class SearchActionItem(@DrawableRes val iconResource: Int, val contentDescription: String, val onClick: () -> Unit)(source)

Search component trailing action items which are rendered as icon buttons. Use a max of 2 action items.

Constructors

Link copied to clipboard
constructor(@DrawableRes iconResource: Int, contentDescription: String, onClick: () -> Unit)

Properties

Link copied to clipboard

Content description for the icon, used for accessibility.

Link copied to clipboard

Resource ID of the icon to be displayed.

Link copied to clipboard
val onClick: () -> Unit

Lambda function to be executed when the action item is clicked.