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