"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.FollowerList = FollowerList;
var _collections = require("../../../../../hooks/collections");
var _UserList = require("../UserList");
function FollowerList({
  userId
}) {
  const {
    followers,
    loadMore,
    hasMore,
    isLoading,
    isLoadingFirstPage
  } = (0, _collections.useFollowerCollection)({
    userId
  });
  return /*#__PURE__*/React.createElement(_UserList.UserList, {
    data: followers,
    profileId: userId,
    keyExtractor: item => item.from,
    isLoading: isLoading,
    isLoadingFirstPage: isLoadingFirstPage,
    hasMore: hasMore,
    loadMore: loadMore
  });
}
//# sourceMappingURL=FollowerList.js.map