import { useFollowerCollection } from '../../../../../hooks/collections';
import { UserList } from '../UserList';
export function FollowerList({
  userId
}) {
  const {
    followers,
    loadMore,
    hasMore,
    isLoading,
    isLoadingFirstPage
  } = useFollowerCollection({
    userId
  });
  return /*#__PURE__*/React.createElement(UserList, {
    data: followers,
    profileId: userId,
    keyExtractor: item => item.from,
    isLoading: isLoading,
    isLoadingFirstPage: isLoadingFirstPage,
    hasMore: hasMore,
    loadMore: loadMore
  });
}
//# sourceMappingURL=FollowerList.js.map