18 lines
390 B
Swift
18 lines
390 B
Swift
import SwiftUI
|
|
|
|
public struct GridRowTextLabeledContentStyle: LabeledContentStyle {
|
|
|
|
public func makeBody(configuration: Configuration) -> some View {
|
|
GridRow {
|
|
configuration.label
|
|
configuration.content
|
|
}
|
|
}
|
|
}
|
|
|
|
extension LabeledContentStyle where Self == GridRowTextLabeledContentStyle {
|
|
public static var gridRow: Self {
|
|
GridRowTextLabeledContentStyle()
|
|
}
|
|
}
|