import SwiftUI struct SharedSectionTitle: View { let text: String var body: some View { HStack(spacing: 0) { // Text Text(text) .foregroundColor(Color.Material.Text.sub) .font(.body3) .padding(.leading, 16) .padding(.top, 16) Spacer() } .listRowInsets(.zero) .listRowSeparator(.hidden) .frame(maxWidth: .infinity, maxHeight: .infinity) .background(Color.Material.Background.light) } }