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

Struct

A view contains text label and link control.


Declaration

public struct ErrorView: View 

Overview

Error view serves for presenting important information about error.

Configure a Error view

For configuration to error view need set text for text label and text for link button. You can also handle buttonAction by passing property in the initializer.

ErrorView(
  text: "Text",
  buttonTitle: "Title",
  isLoadingButton: .constant(false)),
  buttonAction: {}
)

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.