시리즈 상세 추가
This commit is contained in:
27
SodaLive/Sources/UI/Component/SeriesKeywordChipView.swift
Normal file
27
SodaLive/Sources/UI/Component/SeriesKeywordChipView.swift
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// SeriesKeywordChipView.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 4/29/24.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct SeriesKeywordChipView: View {
|
||||
|
||||
let keyword: String
|
||||
|
||||
var body: some View {
|
||||
Text(keyword)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color.grayd2)
|
||||
.padding(.horizontal, 8)
|
||||
.padding(.vertical, 5.3)
|
||||
.background(Color.gray22)
|
||||
.cornerRadius(26.7)
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
SeriesKeywordChipView(keyword: "#로맨스")
|
||||
}
|
Reference in New Issue
Block a user