I am trying to return a button view from a function in swiftui. While trying to follow the instructions here: How to return a Button from a function in SwiftUI?
I am