UploadingImageGrid SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Struct
A view that display container with photos
Declaration
public struct UploadingImageGrid: View
Overview
The component displays grid view with number of photos.
Live demo
Configure a Uploading Image Grid
To create uploading image grid configure an array with UploadImageModel
let item = UploadImageModel(
isLoading: .constant(true),
time: "14:52",
backgroundImage: nil
)
UploadingImageGrid(models: [item], direction: .left)
Changing the state of items
let item = UploadImageModel(
isLoading: .constant(false),
time: "14:52",
backgroundImage: nil
)
UploadingImageGrid(models: [item], direction: .left)
Changing the location of view, it can be left or right
UploadingImageGrid(models: [item], direction: .left)
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.