import SwiftUI
struct boton: View {
@State var boton : String = "S"
var body: some View {
VStack {
Text("bnvnb: \(boton)")
Button(action: {
self.boton = self.boton + "S"
} ) {
/*@START_MENU_TOKEN@*/Text("Button")/*@END_MENU_TOKEN@*/
}
}
}
}
This is the button file you recalled
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: