Skip to content

Commit

Permalink
#37 [Add] RecordMainView 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
soletree committed Apr 24, 2024
1 parent dc7be19 commit 397975a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Score/Score/View/Record/RecordMainView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// RecordMainView.swift
// Score
//
// Created by sole on 4/24/24.
//

import ComposableArchitecture
import SwiftUI

//MARK: - RecordMainView

struct RecordMainView: View {
let store: StoreOf<RecordMainFeature>

var body: some View {
WithPerceptionTracking {
Text("record main view")
.scNavigationBar(style: .vertical) {
DismissButton(style: .chevron) {
store.send(.dismissButtonTapped)
}

Text("기록하기")

Spacer()
}
}
}
}

//MARK: - Preview

#Preview {
RecordMainView(store: .init(initialState: .init(),
reducer: { RecordMainFeature() }))
}

0 comments on commit 397975a

Please sign in to comment.