-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
.../Survey/Sources/Presentation/Modules/SurveyDetail/SurveyQuestion/SurveyQuestionView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// SurveyQuestionView.swift | ||
// Survey | ||
// | ||
// Created by Bliss on 11/1/23. | ||
// Copyright © 2023 Nimble. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct SurveyQuestionView: View { | ||
|
||
var body: some View { | ||
VStack { | ||
Text("1/5") | ||
.font(.boldMedium) | ||
.foregroundColor(.white) | ||
.opacity(0.5) | ||
Text("") | ||
.padding(.top, .tinyPadding) | ||
Spacer() | ||
HStack { | ||
Spacer() | ||
Button { | ||
// TODO: Add action when press next | ||
} label: { | ||
Assets.nextButton | ||
.image | ||
.resizable() | ||
.frame(width: 56.0, height: 56.0) | ||
} | ||
.padding(.bottom, .mediumPadding) | ||
.accessibility(.surveyDetail(.startButton)) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters