stream-chat-react
Version:
React components to create chat conversations or livestream style chat
13 lines (12 loc) • 421 B
TypeScript
import type { PollAnswer, PollAnswersQueryParams } from 'stream-chat';
type UsePollAnswerPaginationParams = {
paginationParams?: PollAnswersQueryParams;
};
export declare const usePollAnswerPagination: ({ paginationParams, }?: UsePollAnswerPaginationParams) => {
answers: PollAnswer[];
error: Error | undefined;
hasNextPage: boolean;
loading: boolean;
loadMore: () => Promise<void>;
};
export {};