AlertView SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Struct
An object that displays an alert message.
Declaration
public struct AlertView: View
Overview
Use this class to configure alerts and action buttons with the message that you want to display and the actions from which to choose.
AlertView
Configure a To configure AlertView pass title, image and message.
AlertView(
image: Image(uiImage: Asset.Documents.Solid.accountDetailSolid.image),
title: "Заголовок в одну или две строки",
message: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
buttonTitle: "Действие",
buttonAction: {},
additionalButtonTitle: "Альтернативное действие",
additionalButtonAction: {}
)
Contribution
You can help us to find bugs or ask us to add features.
- To start
issue
please use ready-made templates. - To make changes to the repository, you need to create a
fork
of the project, make changes to the code and create apull request
in our project. You can read more about this in the Github documentation.