PollCreationDiscardDialog
fun PollCreationDiscardDialog(usePlatformDefaultWidth: Boolean = false, onCancelClicked: () -> Unit, onDiscardClicked: () -> Unit)
A dialog to ask if a user wants to discard the current poll creation information.
Parameters
onCancelClicked
A lambda will be invoked when a user clicks on the cancel button.
onDiscardClicked
A lambda will be invoked when a user clicks on the discard button.