This commit is contained in:
douboer
2025-09-07 12:39:28 +08:00
parent 1ba01e3c64
commit 4d033257fe
5714 changed files with 15866 additions and 1032 deletions

View File

@@ -0,0 +1,19 @@
#if os(iOS)
import SwiftUI
struct EmptyStateView: View {
let message: String
let actionTitle: String
let action: () -> Void
var body: some View {
VStack(spacing: 16) {
Image(systemName: "tray")
.font(.system(size: 48))
.foregroundColor(.secondary)
Text(message).foregroundColor(.secondary)
Button(actionTitle, action: action)
}
.padding(40)
}
}
#endif