쿠폰등록 페이지 추가

This commit is contained in:
Yu Sung
2024-01-03 17:43:20 +09:00
parent 8857dd3e98
commit 3387a1b369
14 changed files with 328 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
//
// CanCouponNoticeItemView.swift
// SodaLive
//
// Created by klaus on 2024/01/03.
//
import SwiftUI
struct CanCouponNoticeItemView: View {
let notice: String
var body: some View {
HStack(alignment: .top, spacing: 4) {
Text("-")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "eeeeee"))
Text(notice)
.multilineTextAlignment(.leading)
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "eeeeee"))
.fixedSize(horizontal: false, vertical: true)
}
.padding(.horizontal, 10)
}
}
struct CanCouponNoticeItemView_Previews: PreviewProvider {
static var previews: some View {
CanCouponNoticeItemView(notice: "본인인증한 계정 1회에 한해 이벤트 쿠폰등록이 적용 됩니다.")
}
}