I\'m implementing a very custom NavigationLink called MenuItem and would like to reuse it across the project. It\'s a struct that conforms to Vie
MenuItem
Vie
You should make the generic parameter part of MenuItem:
struct MenuItem: View { private var destinationView: Content init(destinationView: Content) { self.destinationView = destinationView } var body : some View { // ... } }