import { default as React } from 'react'; import { IInvoice } from '../../types/invoice.types'; type IInvoiceHistoryProps = { /** * The title of the payment history * @default 'Invoice History' */ title?: React.ReactNode; /** * The function to be called when a row is clicked * @param row - The row that was clicked * @returns void */ onRowClick?: (row: IInvoice) => void; /** * The class name to be applied to the container * @default '' */ className?: string; /** * The default limit of the invoice history * @default 5 */ defaultLimit?: number; }; declare const InvoiceHistory: ({ title, onRowClick, defaultLimit, className, }: IInvoiceHistoryProps) => React.JSX.Element | null; export default InvoiceHistory;