File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
WooCommerce/Classes/ViewRelated/ReusableViews/SwiftUI Components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import SwiftUI
22
3+ /// A list that renders the provided list content with an infinite scroll indicator.
4+ ///
35struct InfiniteScrollList < Content: View > : View {
46 /// Content to render in the list.
57 ///
@@ -13,13 +15,12 @@ struct InfiniteScrollList<Content: View>: View {
1315 ///
1416 private let loadAction : ( ) -> Void
1517
16- /// A list that renders the provided list content with an infinite scroll indicator.
18+ /// Creates a list with the provided content and an infinite scroll indicator.
1719 ///
1820 /// - Parameters:
1921 /// - isLoading: Whether the list is loading more content. Used to determine whether to show the infinite scroll indicator.
2022 /// - loadAction: Action to load more content.
2123 /// - listContent: Content to render in the list.
22- ///
2324 init ( isLoading: Bool ,
2425 loadAction: @escaping ( ) -> Void ,
2526 @ViewBuilder listContent: ( ) -> Content ) {
You can’t perform that action at this time.
0 commit comments