UploadImageView SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Struct
A view with background image with progress indicator and chat status.
Declaration
public struct UploadImageView: View
Overview
The component displays sent and received messages containing photos with progress indicators and chat status.
Live example
UploadImageView
Configure a let testModel = UploadImageModel(
isLoading: .constant(false),
time: "14:52",
backgroundImage: nil,
uploadStatus: .read
)
UploadImageView(model: testModel, cornersStyle: .rightSide)
Active the progress indicator
let testModel = UploadImageModel(
isLoading: .constant(true)
)
UploadImageView(model: testModel, cornersStyle: .rightSide)
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.