buttonBorder
A shape that defers to the environment to determine the resolved button border shape.
Declaration
static var buttonBorder: ButtonBorderShape { get }Discussion
You can override the resolved shape in a given view hierarchy by using the buttonBorderShape(_:) modifier. If no button border shape is specified, it is resolved automatically for the given context and platform.