AmdiralSwiftUI Chat TextOperationView - admiral-team/admiralui-ios GitHub Wiki
Overview
TextOperationView - the component that presents a rounded view with title, description and chatBubbleStatusView.
Code
TextOperationView(
style: .success,
chatStatus: .receive,
direction: .left,
time: "21:21",
title: "+ 35 000 ₽",
description: "НПО «Ромашка»"
)
You can create a TextOperationView by specifying the following parameters in the initializer
- style: TextOperationViewStyle - The style of TextOperationView.
- chatStatus: ChatStatus? - The status of ChatBubbleStatusView.
- direction: ChatDirection - The direction of ChatBubbleStatusView.
- time: String - A time of TextOperationView.
- title: String - A title text of TextOperationView.
- description: String - A description text of TextOperationView
Live Example
To run live demo with TextOperationView open Xcode and run project with Example target. Then in the Chat -> TextOperationView
Contribution
You can help us to find bugs or ask us to add features.
- To start
issueplease use ready-made templates. - To make changes to the repository, you need to create a
forkof the project, make changes to the code and create apull requestin our project. You can read more about this in the Github documentation.