SlidingSelector

fun <T : Any> SlidingSelector(options: List<T>, selectedOption: T, onOptionSelected: (T) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, content: (T) -> Unit)(source)

Provides the user with a set of options they can choose from.

(Inspired by https://gist.github.com/zach-klippenstein/7ae8874db304f957d6bb91263e292117)