| 123456789101112131415161718192021222324252627 |
- // LoopFollow
- // NavigationRow.swift
- // Created by Jonas Björkert on 2025-05-27.
- import SwiftUI
- struct NavigationRow: View {
- let title: String
- let icon: String
- var iconTint: Color = .white
- let action: () -> Void
- var body: some View {
- Button(action: action) {
- HStack {
- Glyph(symbol: icon, tint: iconTint)
- Text(title)
- Spacer()
- Image(systemName: "chevron.right")
- .foregroundColor(Color(uiColor: .tertiaryLabel))
- }
- .contentShape(Rectangle())
- }
- .buttonStyle(.plain)
- }
- }
|