Dialog

constructor(cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Dialog.() -> Unit? = null)

Creates a dialog component.

Parameters

cancelable

whether the dialog can be canceled

animation

determines if the transitions are animated

className

CSS class names

init

an initializer extension function