Contents

init(text:textColor:systemImageName:)

Creates an alarm button.

Declaration

init(text: LocalizedStringResource, textColor: Color, systemImageName: String)

Parameters

  • text:

    The text for a label on the button.

  • textColor:

    The color for the text on the button.

  • systemImageName:

    The name of the icon you use on the button.

See Also

Creating a button