publicButton

DSL function for creating a public button and adding it to the current ComponentContainer.


suspend fun <M : ModalForm> ComponentContainer.publicButton(modal: () -> M?, row: Int? = null, builder: suspend PublicInteractionButton<M>.() -> Unit): PublicInteractionButton<M>

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