-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathInvoiceDashboard.d.ts
31 lines (30 loc) · 1.17 KB
/
InvoiceDashboard.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from "react";
import { Config as WagmiConfig } from "@wagmi/core";
import type { IConfig } from "@requestnetwork/shared-types";
import type { WalletState } from "@requestnetwork/shared-types/web3Onboard";
import type { RequestNetwork } from "@requestnetwork/request-client.js";
import { CurrencyTypes } from "@requestnetwork/types";
export interface InvoiceDashboardProps {
config: IConfig;
wagmiConfig: WagmiConfig;
requestNetwork: RequestNetwork | null | undefined;
}
/**
* InvoiceDashboard is a React component that integrates with the Request Network to manage and display invoices.
*
* This component provides functionalities to fetch, display, and manage invoice data, allowing users
* to search, sort, and paginate through their requests. It also handles the state of individual requests,
* providing real-time updates on payment status.
*
* @param {InvoiceDashboardProps} props - The component props
* @returns {JSX.Element}
*
* @example
* <InvoiceDashboard
* config={config}
* wagmiConfig={wagmiConfig}
* requestNetwork={requestNetwork}
* />
*/
declare const InvoiceDashboard: React.FC<InvoiceDashboardProps>;
export default InvoiceDashboard;