diff --git a/src/components/scrollable-list.tsx b/src/components/scrollable-list.tsx index 7f6bb23f6..e19f70069 100644 --- a/src/components/scrollable-list.tsx +++ b/src/components/scrollable-list.tsx @@ -75,6 +75,8 @@ interface IScrollableList extends VirtuosoProps { listClassName?: string; /** Class names on each item container. */ itemClassName?: string; + /** Extra class names on the LoadMore element */ + loadMoreClassName?: string; /** `id` attribute on the Virtuoso element. */ id?: string; /** CSS styles on the Virtuoso element. */ @@ -100,6 +102,7 @@ const ScrollableList = React.forwardRef(({ className, listClassName, itemClassName, + loadMoreClassName, id, hasMore, placeholderComponent: Placeholder, @@ -195,7 +198,7 @@ const ScrollableList = React.forwardRef(({ if (autoloadMore || !hasMore || !onLoadMore) { return null; } else { - return ; + return ; } }; diff --git a/src/features/bookmarks/index.tsx b/src/features/bookmarks/index.tsx index eeade3c04..3023c4204 100644 --- a/src/features/bookmarks/index.tsx +++ b/src/features/bookmarks/index.tsx @@ -110,6 +110,7 @@ const Bookmarks: React.FC = ({ params }) => { { { = ({ params }) => { )} { { { > { { } scrollKey={`quotes:${statusId}`} hasMore={hasMore} diff --git a/src/features/remote-timeline/index.tsx b/src/features/remote-timeline/index.tsx index 140ae84cf..02295f6bc 100644 --- a/src/features/remote-timeline/index.tsx +++ b/src/features/remote-timeline/index.tsx @@ -67,6 +67,7 @@ const RemoteTimeline: React.FC = ({ params }) => {