UNPKG

web3-mq-react

Version:
16 lines (15 loc) 392 B
import type { EventTypes, Client } from 'web3-mq'; 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 {};