SelectInteractionParams

constructor(onClick: (Boolean) -> Unit, onClickContentDescription: String?, enabled: Boolean = true)

Parameters

onClick

action triggered when select component is clicked. Here you should change expanded state to true if you want to display the options

onClickContentDescription

custom message to describe click action when talk back is active. "Will replace the default message "Double tap to activate"

enabled

whether the component is enabled or grayed out.