import SwiftUI /// A labelled call action with a stable target and a visible on/off state. public struct CallControl: View { private let title: LocalizedStringKey private let symbol: String private let action: () -> Void public init(_ title: LocalizedStringKey, systemImage: String, action: @escaping () -> Void) { self.title = title self.symbol = systemImage self.action = action } public var body: some View { Button(action: action) { Label(title, systemImage: symbol).frame(minHeight: 32) }.buttonStyle(.bordered).controlSize(.large) } }