mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
29 lines
729 B
Swift
29 lines
729 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()
|
|
|
|
ChevronRightView()
|
|
}
|
|
}
|
|
}
|