FrequencyPicker

fun FrequencyPicker(uiProvider: FrequencyUIProvider, frequency: MutableState<Frequency>, config: FrequencyPickerConfig, texts: FrequencyPickerTexts, onIntervalValidityChanged: (Boolean) -> Unit = {})

Renders a frequency picker using the caller-supplied FrequencyUIProvider.

The selected frequency is supplied as a single state; the UI provider renders the controls, including the time input.

Parameters

frequency

the state containing the frequency being edited

onIntervalValidityChanged

called when the editable interval becomes valid or invalid