Schedule-ICTIS/Schedule ICTIS/Main/Views/SheetChangeClassView.swift
Vladimir Dubovik def9175c20 Commit
2024-12-12 14:59:35 +03:00

38 lines
901 B
Swift

//
// SheetView.swift
// Schedule ICTIS
//
// Created by G412 on 12.12.2024.
//
import SwiftUI
struct SheetChangeClassView: View {
@Binding var isShowingSheet: Bool
var body: some View {
NavigationView {
VStack {
Spacer()
Text("Создание новой пары")
Spacer()
}
.toolbar {
ToolbarItem(placement: .navigationBarLeading) {
Button("Отменить") {
isShowingSheet = false
}
}
ToolbarItem(placement: .navigationBarTrailing) {
Button("Сохранить") {
isShowingSheet = false
}
}
}
}
}
}
#Preview {
SheetChangeClassView(isShowingSheet: .constant(true))
}