Untitled
unknown
swift
2 years ago
485 B
24
Indexable
import SwiftUI
struct AppCellView: View {
var app: Application
var body: some View {
HStack {
Image(app.imageName)
.resizable()
.frame(width: 50, height: 50)
.padding()
VStack(alignment: .leading) {
Text(app.name)
.bold()
Text(app.description)
}
Spacer()
}
.padding()
}
}
Editor is loading...
Leave a Comment