"use strict";

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