rememberDialogFrequency

convenient function for DialogFrequency

Return

a state holding the current frequency value

Parameters

frequency

the frequency state of the dialog