Untitled

mail@pastecode.io avatar
unknown
swift
a month ago
485 B
5
Indexable
Never
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()
    }
    
}
Leave a Comment