buttonBorderShape(_:)
Sets the border shape for buttons in this view.
Declaration
nonisolated func buttonBorderShape(_ shape: ButtonBorderShape) -> some View
Parameters
- shape:
The shape to use.
Discussion
The border shape is used to draw the platter for a bordered button.
The border shape affects buttons of the bordered and borderedProminent styles.