Structure

PrimitiveButtonStyleConfiguration

The properties of a button.

Declaration

struct PrimitiveButtonStyleConfiguration

Topics

Configuring a Button’s Label

let label: PrimitiveButtonStyleConfiguration.Label

A view that describes the effect of calling the button’s action.

struct PrimitiveButtonStyleConfiguration.Label

A type-erased label of a button.

Triggering a Button’s Action

func trigger()

Performs the button’s action.

See Also

Implementing Buttons

func makeBody(configuration: Self.Configuration) -> Self.Body

Creates a view that represents the body of a button.

Required.