Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

buttonBorderShape(_:)

A view modifier that maps SwiftUI's buttonBorderShape.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
fun Modifier.buttonBorderShape(shape: ButtonBorderShape): Modifier

Overview

Modifier.buttonBorderShape(shape = ButtonBorderShape.…)

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

nonisolated func buttonBorderShape(_ shape: ButtonBorderShape) -> some View

Topics

Overloads

fun Modifier.buttonBorderShape(shape: ButtonBorderShape): Modifier
SwiftUI View.buttonBorderShape(_:)