Category "viewmodifier"

Extension function is inaccessible due to 'internal' protection level

So I have this lovely extension that would allow me to write conditional view modifiers to my views, made by Antoine van der Lee https://www.avanderlee.com/swif

SwiftUI ViewModifier for custom View

Is there a way to create a modifier to update a @State private var in the view being modified? I have a custom view that returns either a Text with a "dynamic"