blob: 27914ff5976ef8a36a74a712665e20b9c658fcbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//
// SmallIconLabelStyle.swift
// iosApp
//
// Created by Iván on 29/01/22.
// Copyright © 2022 orgName. All rights reserved.
//
import SwiftUI
struct SmallLabelStyle: LabelStyle {
func makeBody(configuration: Configuration) -> some View {
HStack {
configuration.icon
.foregroundColor(.secondary)
.imageScale(.small)
configuration.title
.font(.subheadline)
.foregroundColor(.secondary)
}
}
}
|