Instance Method

makeBody(configuration:)

Creates a view that represents the body of a button.

Declaration

func makeBody(configuration: BorderlessButtonStyle.Configuration) -> some View

Parameters

configuration

The properties of the button.

Discussion

The system calls this method for each Button instance in a view hierarchy where this style is the current button style.

Relationships

See Also

Rendering a Button

typealias BorderlessButtonStyle.Body

A view that represents the body of a button with the borderless button style.