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
Configure a UploadImageView
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
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.