leganto-apple/Leganto/FeedViewCell.swift
Louis Hollingworth 058cf52926
All basic views now done.
Some tidying of views will be needed.
Next, data fetching needs to be worked on.

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
2023-05-23 18:37:04 +01:00

33 lines
649 B
Swift

//
// 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()
}
}