update
This commit is contained in:
@@ -10,13 +10,19 @@ import SwiftUI
|
||||
struct UserAccountCard: View {
|
||||
var model: UserAccountCardModel
|
||||
var body: some View {
|
||||
VStack {
|
||||
HStack {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
HStack(spacing: 4) {
|
||||
Image(systemName: model.icon)
|
||||
.resizable()
|
||||
.frame(width: 15, height: 15)
|
||||
.foregroundColor(Color.black)
|
||||
Text(model.title)
|
||||
.font(.system(size: 16))
|
||||
.foregroundColor(Color.black)
|
||||
}
|
||||
Text(model.info)
|
||||
.font(.caption)
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(Color.gray)
|
||||
}
|
||||
.padding(12)
|
||||
.background(Color.white)
|
||||
|
||||
Reference in New Issue
Block a user