diff --git a/Sources/PowerPack/View+ConditionalModifier/View+ConditionalModifier.swift b/Sources/PowerPack/View+ConditionalModifier/View+ConditionalModifier.swift new file mode 100644 index 0000000..dc32673 --- /dev/null +++ b/Sources/PowerPack/View+ConditionalModifier/View+ConditionalModifier.swift @@ -0,0 +1,7 @@ +import SwiftUI + +public extension View { + func conditionalModifier(@ViewBuilder content: (Self) -> Content) -> some View { + content(self) + } +}