Skip to content

Commit dd759f3

Browse files
change alert's title and subtitle to optional
1 parent 16501c8 commit dd759f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ComponentsKit/Components/Alert/Models/AlertVM.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import Foundation
22

33
/// A model that defines the appearance properties for an alert.
44
public struct AlertVM: ComponentVM {
5-
public var title: String = ""
5+
public var title: String?
66

7-
public var message: String = ""
7+
public var message: String?
88

99
public var primaryButton: AlertButtonVM?
1010

0 commit comments

Comments
 (0)