yattee/Backports/Backport.swift
2021-11-30 19:01:08 +01:00

14 lines
232 B
Swift

import SwiftUI
public struct Backport<Content> {
public let content: Content
public init(_ content: Content) {
self.content = content
}
}
extension View {
var backport: Backport<Self> { Backport(self) }
}