import { default as React } from 'react'; import { IPayment } from '../../types/payments.types'; type IPaymentHistoryProps = { /** * The title of the payment history * @default 'Payment 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: IPayment) => void; /** * The class name to be applied to the container * @default '' */ className?: string; /** * The default limit of the payment history * @default 5 */ defaultLimit?: number; }; declare const PaymentHistory: ({ title, onRowClick, defaultLimit, className, }: IPaymentHistoryProps) => React.JSX.Element | null; export default PaymentHistory;