yattee/Fixtures/View+Fixtures.swift

15 lines
300 B
Swift
Raw Permalink Normal View History

2021-09-29 11:45:00 +00:00
import Foundation
import SwiftUI
struct FixtureEnvironmentObjectsModifier: ViewModifier {
func body(content: Content) -> some View {
content
}
2021-09-29 11:45:00 +00:00
}
extension View {
func injectFixtureEnvironmentObjects() -> some View {
modifier(FixtureEnvironmentObjectsModifier())
}
}