@sendbird/uikit-chat-hooks
Version:
A set of React hooks for integrating Sendbird chat functionality into your React app.
15 lines (14 loc) • 412 B
TypeScript
import type { CustomQueryInterface } from '../types';
type ConstructorParams<T> = {
next: () => Promise<T[]>;
isLoading: () => boolean;
hasNext: () => boolean;
};
export declare class CustomQuery<T> implements CustomQueryInterface<T> {
private params;
constructor(params: ConstructorParams<T>);
get isLoading(): boolean;
get hasNext(): boolean;
next(): Promise<T[]>;
}
export {};