File tree Expand file tree Collapse file tree 1 file changed +0
-41
lines changed
Sources/ComponentsKit/Components/Alert Expand file tree Collapse file tree 1 file changed +0
-41
lines changed Original file line number Diff line number Diff line change @@ -85,47 +85,6 @@ struct AlertContent: View {
8585 }
8686}
8787
88- // MARK: - Helpers
89-
90- private struct AlertTitle : View {
91- let text : String
92-
93- var body : some View {
94- Text ( self . text)
95- . font ( UniversalFont . mdHeadline. font)
96- . foregroundStyle ( UniversalColor . foreground. color)
97- . multilineTextAlignment ( . center)
98- . frame ( maxWidth: . infinity)
99- }
100- }
101-
102- private struct AlertMessage : View {
103- let text : String
104-
105- var body : some View {
106- Text ( self . text)
107- . font ( UniversalFont . mdBody. font)
108- . foregroundStyle ( UniversalColor . secondaryForeground. color)
109- . multilineTextAlignment ( . center)
110- . frame ( maxWidth: . infinity)
111- }
112- }
113-
114- private struct AlertButton : View {
115- @Binding var isAlertPresented : Bool
116- let model : ButtonVM ?
117- let action : ( ( ) -> Void ) ?
118-
119- var body : some View {
120- if let model {
121- SUButton ( model: model) {
122- self . action ? ( )
123- self . isAlertPresented = false
124- }
125- }
126- }
127- }
128-
12988// MARK: - Presentation Helpers
13089
13190extension View {
You can’t perform that action at this time.
0 commit comments