import { UserRepository } from '@amityco/ts-sdk-react-native';
import { useLiveCollection } from '../useLiveCollection';
export function useFollowerCollection({
  userId,
  limit = 20,
  status = 'accepted'
}) {
  const {
    items,
    ...rest
  } = useLiveCollection({
    fetcher: UserRepository.Relationship.getFollowers,
    params: {
      userId,
      limit,
      status
    },
    enabled: !!userId
  });
  return {
    ...rest,
    followers: items
  };
}
//# sourceMappingURL=useFollowerCollection.js.map