items

This hook holds the available items T which are queried based on the user's input.

Invoke this hook in order to configure the desired items. Both static values and Flows are applicable.

Example:

items(listOf("A", "B", "C"))

items(
flow {
emit(listOf("A", "B", "C")
delay(1000L)
emit(listOf("D", "E", "F")
}
)