-
public final class PollCreationDiscardDialogKt
-
-
Method Summary
Modifier and Type Method Description final static UnitPollCreationDiscardDialog(Boolean usePlatformDefaultWidth, Function0<Unit> onCancelClicked, Function0<Unit> onDiscardClicked)A dialog to ask if a user wants to discard the current poll creation information. -
-
Method Detail
-
PollCreationDiscardDialog
@Composable() final static Unit PollCreationDiscardDialog(Boolean usePlatformDefaultWidth, Function0<Unit> onCancelClicked, Function0<Unit> onDiscardClicked)
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.
-
-
-
-