Files
EeveeSpotifyReborn/Sources/EeveeSpotify/Settings/Views/Shared/NavigationSectionView.swift
T

32 lines
854 B
Swift

import SwiftUI
struct NavigationSectionView: View {
var color: Color
var title: String
var imageSystemName: String
var body: some View {
HStack(spacing: 15) {
ZStack {
RoundedRectangle(cornerRadius: 8, style: .continuous)
.foregroundColor(color)
Image(systemName: imageSystemName)
.foregroundColor(.white)
.font(.system(size: 16, weight: .medium))
}
.frame(width: 30, height: 30)
Text(title)
.foregroundColor(.white)
Spacer()
Image(systemName: "chevron.right")
.foregroundColor(Color(UIColor.systemGray2))
.font(.subheadline.bold())
}
}
}