NudgeModel

sealed interface NudgeModel

Inheritors

Types

Link copied to clipboard
data class Customizable(val duration: Duration = Duration.Medium, val style: Style = Style.Default, val content: NudgeLayout) : NudgeModel
Link copied to clipboard
data class Standard(val type: Type, val title: String, val description: String? = null, val actions: List<NudgeButton> = emptyList(), val duration: Duration = Duration.Medium, val style: Style = Style.Default) : NudgeModel

Properties

Link copied to clipboard
abstract val duration: Duration
Link copied to clipboard
abstract val style: Style