Discussion 議論
Use this modifier to set a specific style for button instances within a view:
HStack {
Button("Sign In", action: signIn)
Button("Register", action: register)
}
.buttonStyle(.bordered)
Availability 有効性
Technology
func buttonStyle<S>(_ style: S) -> some View
where S : PrimitiveButtonStyle
Use this modifier to set a specific style for button instances within a view:
HStack {
Button("Sign In", action: signIn)
Button("Register", action: register)
}
.buttonStyle(.bordered)