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

Struct

A view with title, time description and status.


Declaration

public struct TextOperationView: View

Overview

The component displays sent and received messages showing operations on banking products.

Live example

Configure a Text Operation View

Configure a text operation view with .success style

TextOperationView(
 style: .success,
 chatStatus: .receive,
 direction: .left,
 time: "21:21",
 title: "+ 35 000 ₽",
 description: "НПО «Ромашка»"
)

Configure a text operation view with .error style

TextOperationView(
 style: .error,
 chatStatus: .receive,
 direction: .left,
 time: "21:21",
 title: "+ 35 000 ₽",
 description: "НПО «Ромашка»"
)

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.