DropdownChoice

fun SMC.DropdownChoice(onClick: () -> Unit, isSelected: Boolean, optionText: String, selectedTextStyle: TextStyle? = null)

Used for displaying an individual DropdownMenu item, using our own default styling

Parameters

onClick

sends back the click event

isSelected

Boolean used to determine if the option is shown as selected or not

optionText

String is the value of the option being displayed