Update to latest Meta changes
All checks were successful
Deploy Docs / publish (push) Successful in 2m22s
SwiftLint / SwiftLint (push) Successful in 3s

This commit is contained in:
david-swift 2024-10-14 16:12:58 +02:00
parent 05dd06af0a
commit 524624b71e

View File

@ -14,7 +14,12 @@ public struct Frame: TermKitWidget {
@Property(set: { $0.title = $1 }, pointer: TermKit.Frame.self)
var label: String?
/// The content.
@ViewProperty(set: { $0.addSubview($1) }, pointer: TermKit.Frame.self, subview: TermKit.View.self)
@ViewProperty(
set: { $0.addSubview($1) },
pointer: TermKit.Frame.self,
subview: TermKit.View.self,
context: TermKitMainView.self
)
var view: Body
/// Initialize a frame.