응원글 전체보기 - 응원글 삭제기능 추가

This commit is contained in:
Yu Sung
2023-09-09 00:38:55 +09:00
parent 948b1fd2b3
commit 1f992a11dc
5 changed files with 39 additions and 71 deletions

View File

@@ -1,47 +0,0 @@
//
// CheersReportMenuView.swift
// SodaLive
//
// Created by klaus on 2023/08/11.
//
import SwiftUI
struct CheersReportMenuView: View {
@Binding var isShowing: Bool
let onClickReport: () -> Void
var body: some View {
ZStack {
Color.black
.opacity(0.7)
.ignoresSafeArea()
.onTapGesture { isShowing = false }
VStack(spacing: 0) {
Spacer()
VStack(spacing: 13.3) {
HStack(spacing: 0) {
Text("신고하기")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(.white)
Spacer()
}
.padding(.vertical, 8)
.padding(.horizontal, 26.7)
.contentShape(Rectangle())
.onTapGesture {
isShowing = false
onClickReport()
}
}
.padding(24)
.background(Color(hex: "222222"))
.cornerRadius(13.3, corners: [.topLeft, .topRight])
}
}
}
}