leganto-apple/Leganto/FeedViewCell.swift

33 lines
649 B
Swift
Raw Normal View History

//
// FeedViewCell.swift
// Leganto
//
// Created by Louis Hollingworth on 2023-05-23.
//
import SwiftUI
struct FeedViewCell: View {
var body: some View {
VStack(alignment: .leading) {
Text("Title")
.font(.title)
HStack {
Text("Author")
Spacer()
Text("Date")
}
.font(.footnote)
Text("Content")
.font(.body)
}
.multilineTextAlignment(.leading)
}
}
struct FeedViewCell_Previews: PreviewProvider {
static var previews: some View {
FeedViewCell()
}
}