Modal

constructor(animation: ModalAnimation? = null, className: String? = null, init: Modal.() -> Unit? = null)

Creates a modal component.

Parameters

animation

the type of animation

className

CSS class names

init

an initializer extension function