CreatePollScreen
fun CreatePollScreen(onBack: () -> Unit, onCreatePoll: (CreatePollParams) -> Unit, onCreatePollLabel: String? = null)
Screen for creating a new poll with options and configuration switches.
Parameters
onBack
Called when the user navigates back from the poll creation screen (via back press or discard). Resets the ViewModel state.
onCreatePoll
Called when the user submits a new poll configuration.
onCreatePollLabel
Semantic / accessibility label for the poll creation button that triggers onCreatePoll.