InfoAgreementView SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Class

Complex user interface element which contains checkbox, title label and transparent button with text.


Declaration

public struct InfoAgreementView: View 

Overview

Info Agreement View is complex ui element. It serves for presentation rule agree.

Configure a Info Agreement View

Configuration checkbox text and text button.

InfoAgreementView(
   title: "Я согласен с условиями договора и подтверждаю свое согласие на обработку персональных данных",
   isSelected: .constant(true),
   isLoading: .constant(false),
   subtitleButtonTitle: "Открыть список документов",
   subtitleButtonAction: {},
   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 a pull request in our project. You can read more about this in the Github documentation.