"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useBlockedUsersCollection = useBlockedUsersCollection;
var _tsSdkReactNative = require("@amityco/ts-sdk-react-native");
var _useLiveCollection = require("../useLiveCollection");
function useBlockedUsersCollection({
  limit = 20
}) {
  const {
    items,
    ...rest
  } = (0, _useLiveCollection.useLiveCollection)({
    fetcher: _tsSdkReactNative.UserRepository.getBlockedUsers,
    params: {
      limit
    }
  });
  return {
    ...rest,
    blockedUsers: items
  };
}
//# sourceMappingURL=useBlockedUsersCollection.js.map