ephemeralButton

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


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

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