unsafeButton

DSL function for creating an unsafe button and adding it to the current ComponentContainer.


suspend fun <M : UnsafeModalForm> ComponentContainer.unsafeButton(modal: () -> M?, row: Int? = null, builder: suspend UnsafeInteractionButton<M>.() -> Unit): UnsafeInteractionButton<M>

DSL function for creating an unsafe button with modal, and adding it to the current ComponentContainer.