Files
sing-box-for-apple/ApplicationLibrary/Views/Dashboard/Cards/DashboardCardLine.swift
T
2025-11-26 22:25:51 +08:00

23 lines
484 B
Swift

import SwiftUI
public struct DashboardCardLine: View {
private let label: String
private let value: String
public init(_ label: String, _ value: String) {
self.label = label
self.value = value
}
public var body: some View {
HStack {
Text(label)
.font(.subheadline)
.foregroundColor(.secondary)
Spacer()
Text(value)
.font(.subheadline)
}
}
}