ImageTextButton

public struct ImageTextButton : View

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Declaration

    Swift

    public init(_ text: String, imageName: ImageName, _ action: @escaping () -> ())
  • Declaration

    Swift

    public init(_ text: String?, _ action: @escaping () -> ())
  • Declaration

    Swift

    public init(_ imageName: ImageName, _ action: @escaping () -> ())
  • The content and behavior of the view.

    Declaration

    Swift

    public var body: some View { get }