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