Dialog(cancelable: Boolean? = null, animation: Boolean? = null, classes: Set<String> = setOf(), init: (Dialog.() -> Unit)? = null)
Creates a dialog component.
cancelable - whether the dialog can be canceled
animation - determines if the transitions are animated
classes - a set of CSS class names
init - an initializer extension function
Constructor
Creates a dialog component.