stream-chat-react
Version:
React components to create chat conversations or livestream style chat
13 lines (12 loc) • 436 B
TypeScript
import type { PollOptionVotesQueryParams, PollVote } from 'stream-chat';
type UsePollOptionVotesPaginationParams = {
paginationParams: PollOptionVotesQueryParams;
};
export declare const usePollOptionVotesPagination: ({ paginationParams, }: UsePollOptionVotesPaginationParams) => {
error: Error | undefined;
hasNextPage: boolean;
loading: boolean;
loadMore: () => Promise<void>;
votes: PollVote[];
};
export {};