Files
2025-08-01 11:04:29 +10:00

28 lines
832 B
Swift

// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
import SwiftUI
public struct Seperator_SwiftUI: View {
public let title: String
public var body: some View {
HStack(spacing: 0) {
Line(color: .textSecondary, lineWidth: Values.separatorThickness)
Text(title)
.font(.Body.smallRegular)
.foregroundColor(themeColor: .textSecondary)
.fixedSize()
.padding(.horizontal, 30)
.padding(.vertical, 6)
.background(
Capsule()
.stroke(themeColor: .textSecondary, lineWidth: Values.separatorThickness)
)
Line(color: .textSecondary, lineWidth: Values.separatorThickness)
}
}
}