Skip to content

Commit be6f734

Browse files
committed
fix: add public init
1 parent 8fecbfb commit be6f734

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

swift/sources/CustardKeyLabelStyle.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ public enum CustardKeyLabelStyle: Codable, Equatable, Hashable, Sendable {
88
}
99

1010
public struct CustardKeyDirectionalLabel: Codable, Equatable, Hashable, Sendable {
11+
public init(left: String? = nil, top: String? = nil, right: String? = nil, bottom: String? = nil) {
12+
self.left = left
13+
self.top = top
14+
self.right = right
15+
self.bottom = bottom
16+
}
17+
1118
public var left: String?
1219
public var top: String?
1320
public var right: String?

0 commit comments

Comments
 (0)