Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

textEditorStyle(_:)

A view modifier that maps SwiftUI's textEditorStyle.

iOS 17.0+macOS 14.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
fun Modifier.textEditorStyle(style: TextEditorStyle): Modifier

Overview

Modifier.textEditorStyle(style = TextEditorStyle.…)

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

nonisolated func textEditorStyle(_ style: some TextEditorStyle) -> some View

Topics

Overloads

fun Modifier.textEditorStyle(style: TextEditorStyle): Modifier
SwiftUI View.textEditorStyle(_:)