mirror of
https://github.com/yattee/yattee.git
synced 2024-11-14 01:58:24 +00:00
14 lines
232 B
Swift
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) }
|
||
|
}
|