[SwiftUI] Sample MenuButton

@State var isProduction: Bool = true
  
private var enviroment: String {
  isProduction ? "Production" : "Development"
}

MenuButton(label: Text(enviroment)) {
  Button(action: {
    self.isProduction = true
  }) { Text("Production") }
  Button(action: {
    self.isProduction = false
  }) { Text("Development")}
}