yattee/Shared/Documents/NoDocumentsView.swift

23 lines
554 B
Swift
Raw Normal View History

2022-11-18 22:39:52 +00:00
import SwiftUI
struct NoDocumentsView: View {
var body: some View {
2022-12-18 12:39:39 +00:00
VStack(spacing: 20) {
2022-11-18 22:39:52 +00:00
HStack {
Image(systemName: "doc")
Text("No documents")
}
Text("Share files from Finder on a Mac\nor iTunes on Windows")
.multilineTextAlignment(.center)
}
.frame(maxWidth: .infinity)
.foregroundColor(.secondary)
}
}
struct NoDocumentsView_Previews: PreviewProvider {
static var previews: some View {
NoDocumentsView()
}
}