ChatBubbleView SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Struct
A view for chat message with title time and status
Declaration
public struct ChatBubbleView: View
Overview
The component displays sent and received text messages.
Configure a Chat Bubble view
ChatBubbleView(
text: "Text message",
time: "14:52",
name: "Татьяна"
)
You can also set status of message by passing status property in the initializer:
ChatBubbleView(
text: "Text message",
time: "14:52",
name: "Татьяна",
status: .sent
)
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.