Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

dialogSeverity(_:)

A view modifier that maps SwiftUI's dialogSeverity.

iOS: unavailable (no-op)macOS 14.0+tvOS: unavailable (no-op)watchOS 10.0+
fun Modifier.dialogSeverity(severity: DialogSeverity): Modifier

Overview

Modifier.dialogSeverity(severity = DialogSeverity.…)

This is the Kotlin form of SwiftUI View.dialogSeverity(_:): SwiftUI documentation. In Swift it reads:

nonisolated func dialogSeverity(_ severity: DialogSeverity) -> some View

Topics

Overloads

fun Modifier.dialogSeverity(severity: DialogSeverity): Modifier
SwiftUI View.dialogSeverity(_:)