@web3mq/react-components
Version:
web3mq-react-components
16 lines (15 loc) • 399 B
TypeScript
import type { EventTypes, Client } from '@web3mq/client';
declare type StatusType = {
error: boolean;
loading: boolean;
};
export declare const usePaginatedTopics: (client: Client) => {
status: StatusType;
createTopicList: any[];
refreshing: boolean;
loadNextPage: () => void;
handleEvent: (props: {
type: EventTypes;
}) => void;
};
export {};