We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Label
1 parent b864653 commit 4923435Copy full SHA for 4923435
Sources/SwiftWin32UI/Views and Controls/Label.swift
@@ -0,0 +1,19 @@
1
+// Copyright © 2022 Saleem Abdulrasool <compnerd@compnerd.org>
2
+// SPDX-License-Identifier: BSD-3-Clause
3
+
4
+import SwiftWin32
5
6
+public struct Label<Title: View, Icon: View> {
7
+}
8
9
+extension Label: View {
10
+ public typealias Body = SwiftWin32.Label
11
12
+ public var body: SwiftWin32.Label {
13
+ return SwiftWin32.Label(frame: .zero)
14
+ }
15
16
17
+extension SwiftWin32.Label: View {
18
+ public typealias Body = Never
19
0 commit comments