Modal(animation: ModalAnimation? = null, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
Creates a modal component.
animation
- the type of animation
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a modal component.